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 | f7a700fd01deb5b8fc6835cba99c7251e7aafe8f (patch) | |
tree | 973c0ab7f112a8e4f62d4d65bdc741be3b98bb9d /clang/lib/Serialization/ChainedIncludesSource.cpp | |
parent | 1805b8a42f1a636f6f8c0adb276cc610ac009a2b (diff) | |
download | bcm5719-llvm-f7a700fd01deb5b8fc6835cba99c7251e7aafe8f.tar.gz bcm5719-llvm-f7a700fd01deb5b8fc6835cba99c7251e7aafe8f.zip |
When writing a module file, pass the module through to the AST
writer. No functionality change.
llvm-svn: 145479
Diffstat (limited to 'clang/lib/Serialization/ChainedIncludesSource.cpp')
-rw-r--r-- | clang/lib/Serialization/ChainedIncludesSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Serialization/ChainedIncludesSource.cpp b/clang/lib/Serialization/ChainedIncludesSource.cpp index 5fcf11a36e3..90c71140be8 100644 --- a/clang/lib/Serialization/ChainedIncludesSource.cpp +++ b/clang/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()); |