diff options
author | Richard Trieu <rtrieu@google.com> | 2018-12-14 03:35:10 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2018-12-14 03:35:10 +0000 |
commit | 0f25c747a32a7968678333cb412c986b2ecc4877 (patch) | |
tree | 224d3589ea9603aed616b8da77dfa60cd52ff37d /clang/lib/AST/Decl.cpp | |
parent | f464a476d07fd278a18ef5b63121bf6b4e10589a (diff) | |
download | bcm5719-llvm-0f25c747a32a7968678333cb412c986b2ecc4877.tar.gz bcm5719-llvm-0f25c747a32a7968678333cb412c986b2ecc4877.zip |
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
Diffstat (limited to 'clang/lib/AST/Decl.cpp')
-rw-r--r-- | clang/lib/AST/Decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp index f2e8c5014df..b32e5d9aa03 100644 --- a/clang/lib/AST/Decl.cpp +++ b/clang/lib/AST/Decl.cpp @@ -14,6 +14,7 @@ #include "clang/AST/Decl.h" #include "Linkage.h" #include "clang/AST/ASTContext.h" +#include "clang/AST/ASTDiagnostic.h" #include "clang/AST/ASTLambda.h" #include "clang/AST/ASTMutationListener.h" #include "clang/AST/CanonicalType.h" @@ -49,7 +50,6 @@ #include "clang/Basic/TargetCXXABI.h" #include "clang/Basic/TargetInfo.h" #include "clang/Basic/Visibility.h" -#include "clang/Frontend/FrontendDiagnostic.h" #include "llvm/ADT/APSInt.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/None.h" |