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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 05:53:25 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">;
----------------
AaronBallman wrote:

I think @jrtc27 is saying that this diagnostic should also change to use `%0` similar to what you've done for `err_verify_no_directives` because it has the same issue with saying `'expected-no-diagnostics'`.

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


More information about the cfe-commits mailing list