Fix up diagnostics.
authorRichard Trieu <rtrieu@google.com>
Fri, 14 Dec 2018 03:35:10 +0000 (03:35 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 14 Dec 2018 03:35:10 +0000 (03:35 +0000)
commit0f25c747a32a7968678333cb412c986b2ecc4877
tree224d3589ea9603aed616b8da77dfa60cd52ff37d
parentf464a476d07fd278a18ef5b63121bf6b4e10589a
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.

llvm-svn: 349125
14 files changed:
clang/include/clang/Basic/DiagnosticASTKinds.td
clang/include/clang/Basic/DiagnosticCommonKinds.td
clang/include/clang/Basic/DiagnosticCrossTUKinds.td
clang/include/clang/Basic/DiagnosticFrontendKinds.td
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/AST/Decl.cpp
clang/lib/AST/Expr.cpp
clang/lib/AST/RecordLayoutBuilder.cpp
clang/lib/CrossTU/CrossTranslationUnit.cpp
clang/lib/Frontend/DependencyFile.cpp
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Serialization/ASTReaderDecl.cpp