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/CodeGenFunction.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/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 600640f78c1..7c7ba9d0c12 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -31,7 +31,7 @@ #include "clang/Basic/TargetInfo.h" #include "clang/CodeGen/CGFunctionInfo.h" #include "clang/Frontend/CodeGenOptions.h" -#include "clang/Sema/SemaDiagnostic.h" +#include "clang/Frontend/FrontendDiagnostic.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/Dominators.h" #include "llvm/IR/Intrinsics.h" |