summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ChainedIncludesSource.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-11-15 18:57:22 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-11-15 18:57:22 +0000
commit2ec293677806fddc4dffbc89e0f4faa5c49c2ddf (patch)
treeeb3608bb86093465a63562ffef0be04aa1bba25f /clang/lib/Frontend/ChainedIncludesSource.cpp
parent933c9889aa4f680d8e983d05313eaca6e450a8c4 (diff)
downloadbcm5719-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.cpp2
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.
OpenPOWER on IntegriCloud