[llvm] [clang-tools-extra] [clang] [CLANG] Fix : More Detailed "No expected directives found" (PR #78338)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 05:06:58 PST 2024


================
@@ -5,5 +5,5 @@
 # `.ii` file and `-verify` triggers extra diagnostics generation. Clangd should
 # strip those.
 # RUN: clangd-indexer %t.cpp -- -Xclang -verify --save-temps -- 2>&1 | FileCheck %s
-# CHECK-NOT: error: no expected directives found: consider use of 'expected-no-diagnostics'
+# CHECK-NOT: error: no expected directives found: consider use of {{.*}}-no-diagnostics
----------------
tbaederr wrote:

Why are you removing all the "expected" from the tests? The output shouldn't change for those cases, should it?

https://github.com/llvm/llvm-project/pull/78338


More information about the cfe-commits mailing list