aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-28 20:36:16 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-28 20:36:16 +0000
commitaf1795be18cbb522a8b45ca3664457f281ce348d (patch)
tree218ea1b07f83538a3d21a8d69dd0c529f2bff0f4 /include/clang/Basic
parent92b059ea944adaa3e00bb53d63a09868a4752547 (diff)
Replace a lame fprintf with a slightly-less lame diagnostic
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r--include/clang/Basic/DiagnosticFrontendKinds.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticFrontendKinds.td b/include/clang/Basic/DiagnosticFrontendKinds.td
index 4ed49a0ee4..d989332d0c 100644
--- a/include/clang/Basic/DiagnosticFrontendKinds.td
+++ b/include/clang/Basic/DiagnosticFrontendKinds.td
@@ -126,4 +126,7 @@ def note_using_macro_def_from_pch : Note<
def warn_macro_name_used_in_pch : Warning<
"definition of macro %0 conflicts with an identifier used in the "
"precompiled header">;
+def warn_pch_compiler_options_mismatch : Warning<
+ "compiler options used when building the precompiled header differ from "
+ "the ptions used when using the precompiled header">;
}