[clang] [clang] Expand invalid PCM diagnostic (PR #69489)
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 18 14:25:05 PDT 2023
================
@@ -62,7 +62,7 @@ def err_ast_file_out_of_date : Error<
"%select{PCH|module|AST}0 file '%1' is out of date and "
"needs to be rebuilt%select{|: %3}2">, DefaultFatal;
def err_ast_file_invalid : Error<
- "file '%1' is not a valid precompiled %select{PCH|module|AST}0 file">, DefaultFatal;
+ "file '%1' is not a valid precompiled %select{PCH|module|AST}0 file: '%2'">, DefaultFatal;
----------------
dwblaikie wrote:
probably skip the single quotes and separate by only the `:`, I think that's how most other diagnostic nesting situations work?
https://github.com/llvm/llvm-project/pull/69489
More information about the cfe-commits
mailing list