diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-11-15 18:57:22 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-11-15 18:57:22 +0000 |
commit | 2ec293677806fddc4dffbc89e0f4faa5c49c2ddf (patch) | |
tree | eb3608bb86093465a63562ffef0be04aa1bba25f /clang/lib/Frontend/ChainedIncludesSource.cpp | |
parent | 933c9889aa4f680d8e983d05313eaca6e450a8c4 (diff) | |
download | bcm5719-llvm-2ec293677806fddc4dffbc89e0f4faa5c49c2ddf.tar.gz bcm5719-llvm-2ec293677806fddc4dffbc89e0f4faa5c49c2ddf.zip |
[modules] Setup the import location of a module file and use it
as the include location of the main file of an imported module.
llvm-svn: 168061
Diffstat (limited to 'clang/lib/Frontend/ChainedIncludesSource.cpp')
-rw-r--r-- | clang/lib/Frontend/ChainedIncludesSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/ChainedIncludesSource.cpp b/clang/lib/Frontend/ChainedIncludesSource.cpp index 2d586400ec4..94d950f1893 100644 --- a/clang/lib/Frontend/ChainedIncludesSource.cpp +++ b/clang/lib/Frontend/ChainedIncludesSource.cpp @@ -39,7 +39,7 @@ static ASTReader *createASTReader(CompilerInstance &CI, Reader->addInMemoryBuffer(sr, memBufs[ti]); } Reader->setDeserializationListener(deserialListener); - switch (Reader->ReadAST(pchFile, serialization::MK_PCH, + switch (Reader->ReadAST(pchFile, serialization::MK_PCH, SourceLocation(), ASTReader::ARR_None)) { case ASTReader::Success: // Set the predefines buffer as suggested by the PCH reader. |