From: Chris Lattner Date: Tue, 18 Mar 2008 05:59:11 +0000 (+0000) Subject: move #include to the file that needs it. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f90a24857851f7d28797205c810aae1708eaa60c;p=clang move #include to the file that needs it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48485 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Lex/PPMacroExpansion.cpp b/lib/Lex/PPMacroExpansion.cpp index 8218d0ac06..c21f399e63 100644 --- a/lib/Lex/PPMacroExpansion.cpp +++ b/lib/Lex/PPMacroExpansion.cpp @@ -18,6 +18,7 @@ #include "clang/Basic/SourceManager.h" #include "clang/Basic/FileManager.h" #include "clang/Basic/Diagnostic.h" +#include using namespace clang; /// setMacroInfo - Specify a macro for this identifier. diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index 86156a0772..ebd3072866 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -36,7 +36,6 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Streams.h" -#include using namespace clang; //===----------------------------------------------------------------------===//