Эх сурвалжийг харах

[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
Richard Trieu 6 жил өмнө
parent
commit
cb284d8ace

+ 2 - 1
lib/CodeGen/MacroPPCallbacks.cpp

@@ -14,7 +14,8 @@
 #include "MacroPPCallbacks.h"
 #include "MacroPPCallbacks.h"
 #include "CGDebugInfo.h"
 #include "CGDebugInfo.h"
 #include "clang/CodeGen/ModuleBuilder.h"
 #include "clang/CodeGen/ModuleBuilder.h"
-#include "clang/Parse/Parser.h"
+#include "clang/Lex/MacroInfo.h"
+#include "clang/Lex/Preprocessor.h"
 
 
 using namespace clang;
 using namespace clang;