[clang] [clang] Remove 'PCH' from more diagnostics that were wrong or misleading NFC (PR #110724)
Cyndy Ishida via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 1 12:10:48 PDT 2024
https://github.com/cyndyishida created https://github.com/llvm/llvm-project/pull/110724
None
>From b78a9a6649adaa1b0f7252733995ece7d1cebee0 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida <cyndy_ishida at apple.com>
Date: Mon, 30 Sep 2024 17:07:06 -0700
Subject: [PATCH] [clang] Remove 'PCH' from more diagnostics that were wrong or
misleading NFC
---
clang/include/clang/Basic/DiagnosticSerializationKinds.td | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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_different_branch : Error<
"%select{PCH|module|AST}0 file '%1' built from a different branch (%2) than the compiler (%3)">;
def err_ast_file_with_compiler_errors : Error<
More information about the cfe-commits
mailing list