Selaa lähdekoodia

[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 vuotta sitten
vanhempi
commit
cb284d8ace
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      lib/CodeGen/MacroPPCallbacks.cpp

+ 2 - 1
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;