diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-30 04:39:39 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-30 04:39:39 +0000 |
commit | a8cc6ce36e70e2afa22ab6b4340035cb3941c2eb (patch) | |
tree | 3e9239b1dfd505e5ff7173cf1cdb1d2896dba116 /lib/Serialization/ChainedIncludesSource.cpp | |
parent | b514c792821a8f053027d88444e13bfaa8efef76 (diff) |
When writing a module file, pass the module through to the AST
writer. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ChainedIncludesSource.cpp')
-rw-r--r-- | lib/Serialization/ChainedIncludesSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Serialization/ChainedIncludesSource.cpp b/lib/Serialization/ChainedIncludesSource.cpp index 5fcf11a36e..90c71140be 100644 --- a/lib/Serialization/ChainedIncludesSource.cpp +++ b/lib/Serialization/ChainedIncludesSource.cpp @@ -105,8 +105,8 @@ ChainedIncludesSource *ChainedIncludesSource::create(CompilerInstance &CI) { SmallVector<char, 256> serialAST; llvm::raw_svector_ostream OS(serialAST); llvm::OwningPtr<ASTConsumer> consumer; - consumer.reset(new PCHGenerator(Clang->getPreprocessor(), "-", - /*IsModule=*/false, /*isysroot=*/"", &OS)); + consumer.reset(new PCHGenerator(Clang->getPreprocessor(), "-", 0, + /*isysroot=*/"", &OS)); Clang->getASTContext().setASTMutationListener( consumer->GetASTMutationListener()); Clang->setASTConsumer(consumer.take()); |