[clang-tools-extra] [llvm] [clang] [CLANG] Fix : More Detailed "No expected directives found" (PR #78338)
Shourya Goel via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 19 09:10:27 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:
the intended behavior is that when only `-verify` is passed and there are no diagnostics in the file then `expected-no-diagnostics` should be the error and when `-verify=foo` is passed and no such diagnostics is present in the file, then `foo-no-diagnostics` should be the error.
https://github.com/llvm/llvm-project/pull/78338
More information about the cfe-commits
mailing list