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

Shourya Goel via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 06:50:10 PST 2024


================
@@ -11,7 +11,7 @@
 #error
 // expected-error at -1 {{}}
 
-//      CHECK: error: no expected directives found: consider use of 'expected-no-diagnostics'
+//      CHECK: error: no expected directives found: consider use of '{{.*}}-no-diagnostics'
----------------
Sh0g0-1758 wrote:

Oh, I think I overlooked this. I then would have to revert the test changes. Please give me a confirmation to do so and also suggest whether or not I should write separate test cases for -verify=foo,bar for the change that this PR intends to implement. 

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


More information about the cfe-commits mailing list