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

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 26 15:40:11 PST 2024


================
@@ -179,7 +179,7 @@ def err_verify_invalid_no_diags : Error<
     "%select{expected|'expected-no-diagnostics'}0 directive cannot follow "
     "%select{'expected-no-diagnostics' directive|other expected directives}0">;
 def err_verify_no_directives : Error<
-    "no expected directives found: consider use of 'expected-no-diagnostics'">;
+    "no expected directives found: consider use of '%0-no-diagnostics'">;
----------------
jrtc27 wrote:

I guess elsewhere we refer to them as expected diagnostics, it's only in single quotes that we intend it to match the source?

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


More information about the cfe-commits mailing list