]> granicus.if.org Git - clang/commitdiff
[CodeGen] Fix included headers.
authorRichard Trieu <rtrieu@google.com>
Wed, 28 Nov 2018 04:14:29 +0000 (04:14 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 28 Nov 2018 04:14:29 +0000 (04:14 +0000)
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

lib/CodeGen/MacroPPCallbacks.cpp

index 05acc9bb2732f6540cf7d3e0e35d9c2f0fe72b72..013ca15e2391766c473b2b4e5fb87fadfcb46262 100644 (file)
@@ -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;