diff options
author | Reid Kleckner <rnk@google.com> | 2015-11-02 17:53:55 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-11-02 17:53:55 +0000 |
commit | 738d48d5fe6ce54b71bf74a03ba9ab9d3fa825df (patch) | |
tree | 089b1083131d544a179f391640d2ebc9f6497e55 /clang/lib | |
parent | 5c5011d503fa8c2d225f947adec3bda6141b91c5 (diff) | |
download | bcm5719-llvm-738d48d5fe6ce54b71bf74a03ba9ab9d3fa825df.tar.gz bcm5719-llvm-738d48d5fe6ce54b71bf74a03ba9ab9d3fa825df.zip |
Sink some PTHManager includes out of Preprocessor.h
This reduces the number of .cpp files needed to be rebuilt after
touching OnDiskHashTable from 120 to 21 for me.
llvm-svn: 251810
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Frontend/CacheTokens.cpp | 1 | ||||
-rw-r--r-- | clang/lib/Frontend/InitPreprocessor.cpp | 1 | ||||
-rw-r--r-- | clang/lib/Lex/PPLexerChange.cpp | 1 | ||||
-rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CacheTokens.cpp b/clang/lib/Frontend/CacheTokens.cpp index 7d2a09cd7ca..662778b7a65 100644 --- a/clang/lib/Frontend/CacheTokens.cpp +++ b/clang/lib/Frontend/CacheTokens.cpp @@ -19,6 +19,7 @@ #include "clang/Basic/IdentifierTable.h" #include "clang/Basic/SourceManager.h" #include "clang/Lex/Lexer.h" +#include "clang/Lex/PTHManager.h" #include "clang/Lex/Preprocessor.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringMap.h" diff --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp index 3d62d88917b..c82e8974185 100644 --- a/clang/lib/Frontend/InitPreprocessor.cpp +++ b/clang/lib/Frontend/InitPreprocessor.cpp @@ -20,6 +20,7 @@ #include "clang/Frontend/FrontendDiagnostic.h" #include "clang/Frontend/FrontendOptions.h" #include "clang/Lex/HeaderSearch.h" +#include "clang/Lex/PTHManager.h" #include "clang/Lex/Preprocessor.h" #include "clang/Lex/PreprocessorOptions.h" #include "clang/Serialization/ASTReader.h" diff --git a/clang/lib/Lex/PPLexerChange.cpp b/clang/lib/Lex/PPLexerChange.cpp index c231e18eecc..777c2fb9489 100644 --- a/clang/lib/Lex/PPLexerChange.cpp +++ b/clang/lib/Lex/PPLexerChange.cpp @@ -18,6 +18,7 @@ #include "clang/Lex/HeaderSearch.h" #include "clang/Lex/LexDiagnostic.h" #include "clang/Lex/MacroInfo.h" +#include "clang/Lex/PTHManager.h" #include "llvm/ADT/StringSwitch.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/MemoryBuffer.h" diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 869890b46cf..142d9ce0904 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -38,6 +38,7 @@ #include "clang/Lex/MacroArgs.h" #include "clang/Lex/MacroInfo.h" #include "clang/Lex/ModuleLoader.h" +#include "clang/Lex/PTHManager.h" #include "clang/Lex/Pragma.h" #include "clang/Lex/PreprocessingRecord.h" #include "clang/Lex/PreprocessorOptions.h" |