summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MacroPPCallbacks.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-11-28 04:14:29 +0000
committerRichard Trieu <rtrieu@google.com>2018-11-28 04:14:29 +0000
commitcb284d8ace17d8a2a631faf40b4594f54c8946e6 (patch)
treedbbca14c9d061a12160fc64ad42bae171d0b67ae /lib/CodeGen/MacroPPCallbacks.cpp
parent2b84f92546841091aafe77110c5bb687c795d373 (diff)
[CodeGen] Fix included headers.
Remove the included Parse header because CodeGen should not depend on Parse. Instead, include the Lex headers that it needs instead. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MacroPPCallbacks.cpp')
-rw-r--r--lib/CodeGen/MacroPPCallbacks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/MacroPPCallbacks.cpp b/lib/CodeGen/MacroPPCallbacks.cpp
index 05acc9bb27..013ca15e23 100644
--- a/lib/CodeGen/MacroPPCallbacks.cpp
+++ b/lib/CodeGen/MacroPPCallbacks.cpp
@@ -14,7 +14,8 @@
#include "MacroPPCallbacks.h"
#include "CGDebugInfo.h"
#include "clang/CodeGen/ModuleBuilder.h"
-#include "clang/Parse/Parser.h"
+#include "clang/Lex/MacroInfo.h"
+#include "clang/Lex/Preprocessor.h"
using namespace clang;