[clang] b38b34c - [clang] Remove 'PCH' from more diagnostics that were wrong or misleading NFC (#110724)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 1 16:52:04 PDT 2024


Author: Cyndy Ishida
Date: 2024-10-01T16:52:02-07:00
New Revision: b38b34c51a115982912256dd940f2e1b794b7d3a

URL: https://github.com/llvm/llvm-project/commit/b38b34c51a115982912256dd940f2e1b794b7d3a
DIFF: https://github.com/llvm/llvm-project/commit/b38b34c51a115982912256dd940f2e1b794b7d3a.diff

LOG: [clang] Remove 'PCH' from more diagnostics that were wrong or misleading NFC (#110724)

Added: 
    

Modified: 
    clang/include/clang/Basic/DiagnosticSerializationKinds.td

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/DiagnosticSerializationKinds.td b/clang/include/clang/Basic/DiagnosticSerializationKinds.td
index 253a955431997b..3914d3930bec79 100644
--- a/clang/include/clang/Basic/DiagnosticSerializationKinds.td
+++ b/clang/include/clang/Basic/DiagnosticSerializationKinds.td
@@ -51,9 +51,9 @@ def note_pch_vfsoverlay_files : Note<"%select{PCH|current translation unit}0 has
 def note_pch_vfsoverlay_empty : Note<"%select{PCH|current translation unit}0 has no VFS overlays">;
 
 def err_ast_file_version_too_old : Error<
-    "%select{PCH|module|AST}0 file '%1' uses an older PCH format that is no longer supported">;
+    "%select{PCH|module|AST}0 file '%1' uses an older format that is no longer supported">;
 def err_ast_file_version_too_new : Error<
-    "%select{PCH|module|AST}0 file '%1' uses a newer PCH format that cannot be read">;
+    "%select{PCH|module|AST}0 file '%1' uses a newer format that cannot be read">;
 def err_ast_file_
diff erent_branch : Error<
     "%select{PCH|module|AST}0 file '%1' built from a 
diff erent branch (%2) than the compiler (%3)">;
 def err_ast_file_with_compiler_errors : Error<


        


More information about the cfe-commits mailing list