summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticCrossTUKinds.td
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-12-14 03:35:10 +0000
committerRichard Trieu <rtrieu@google.com>2018-12-14 03:35:10 +0000
commitc18971ee2305995d7b953dac2e6a65304ba95408 (patch)
tree27aecece32f006a9aa4ffc91590975dfc53aafcf /include/clang/Basic/DiagnosticCrossTUKinds.td
parentdb2a2bc824742204d0b901604afd8a87f31a377b (diff)
Fix up diagnostics.
Move some diagnostics around between Diagnostic*Kinds.td files. Diagnostics used in multiple places were moved to DiagnosticCommonKinds.td. Diagnostics listed in the wrong place (ie, Sema diagnostics listed in DiagnosticsParseKinds.td) were moved to the correct places. One diagnostic split into two so that the diagnostic string is in the .td file instead of in code. Cleaned up the diagnostic includes after all the changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticCrossTUKinds.td')
-rw-r--r--include/clang/Basic/DiagnosticCrossTUKinds.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticCrossTUKinds.td b/include/clang/Basic/DiagnosticCrossTUKinds.td
index 877ac3d575..9c432457df 100644
--- a/include/clang/Basic/DiagnosticCrossTUKinds.td
+++ b/include/clang/Basic/DiagnosticCrossTUKinds.td
@@ -9,6 +9,9 @@
let Component = "CrossTU" in {
+def err_ctu_error_opening : Error<
+ "error opening '%0': required by the CrossTU functionality">;
+
def err_fnmap_parsing : Error<
"error parsing index file: '%0' line: %1 'UniqueID filename' format "
"expected">;