[clang] [clang-tools-extra] [llvm] [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:39:03 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:

```suggestion
    "no %0 directives found: consider use of '%0-no-diagnostics'">;
```
no?

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


More information about the cfe-commits mailing list