diff options
author | Richard Trieu <rtrieu@google.com> | 2018-12-06 06:12:20 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2018-12-06 06:12:20 +0000 |
commit | 5337c7482566198c21eccbf9bd178ba1387b7ebc (patch) | |
tree | c0666887a850ea6845e48982547c30ca86bf8530 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 0b1d069d64a394e81baf7ed022f44323095389c9 (diff) | |
download | bcm5719-llvm-5337c7482566198c21eccbf9bd178ba1387b7ebc.tar.gz bcm5719-llvm-5337c7482566198c21eccbf9bd178ba1387b7ebc.zip |
Remove CodeGen dependencies on Sema.
Move diagnostics from Sema to Frontend (or Common) so that CodeGen no longer
needs to include the Sema diagnostic IDs.
llvm-svn: 348458
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 9ebd86a9819..81304493a3a 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -43,7 +43,7 @@ #include "clang/Basic/Version.h" #include "clang/CodeGen/ConstantInitBuilder.h" #include "clang/Frontend/CodeGenOptions.h" -#include "clang/Sema/SemaDiagnostic.h" +#include "clang/Frontend/FrontendDiagnostic.h" #include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/Triple.h" #include "llvm/Analysis/TargetLibraryInfo.h" |