diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-10 03:52:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-10 03:52:48 +0000 |
commit | a7f71a91c5b6c1f4d432715a084890b2f8dd4983 (patch) | |
tree | 82cda202a71397b2f88793fa5a12cbd39f00d9f4 /clang/lib/Lex/Preprocessor.cpp | |
parent | 5054663daaed221a38f151f5520384619d370a95 (diff) | |
download | bcm5719-llvm-a7f71a91c5b6c1f4d432715a084890b2f8dd4983.tar.gz bcm5719-llvm-a7f71a91c5b6c1f4d432715a084890b2f8dd4983.zip |
PCH serialization/deserialization of the source manager. With this
improvement, source locations read from the PCH file will properly
resolve to the source files that were used to build the PCH file
itself.
Once we have the preprocessor state stored in the PCH file, source
locations that refer to macro instantiations that occur in the PCH
file should have the appropriate instantiation information.
llvm-svn: 68758
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 452a04ccb3d..a594ad9c5d4 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -45,6 +45,10 @@ using namespace clang; PreprocessorFactory::~PreprocessorFactory() {} +bool PreprocessorFactory::FinishInitialization(Preprocessor *PP) { + return false; +} + Preprocessor::Preprocessor(Diagnostic &diags, const LangOptions &opts, TargetInfo &target, SourceManager &SM, HeaderSearch &Headers, |