summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-02-01 16:36:12 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-02-01 16:36:12 +0000
commit125df0589b95ad297242dbdc7239f4421ea19b9b (patch)
tree6864b40ac18c412b91f894513439275be57d271e /clang/lib/Sema/SemaDecl.cpp
parent22c22f5f9a0fa0db6cb0fae9c9ced4756cd52701 (diff)
downloadbcm5719-llvm-125df0589b95ad297242dbdc7239f4421ea19b9b.tar.gz
bcm5719-llvm-125df0589b95ad297242dbdc7239f4421ea19b9b.zip
For ModuleLoader::makeModuleVisible() also pass the source location where the
module import occurred. llvm-svn: 174191
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 0d549fcc18e..45f7cae960a 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -11514,7 +11514,7 @@ void Sema::createImplicitModuleImport(SourceLocation Loc, Module *Mod) {
Consumer.HandleImplicitImportDecl(ImportD);
// Make the module visible.
- PP.getModuleLoader().makeModuleVisible(Mod, Module::AllVisible);
+ PP.getModuleLoader().makeModuleVisible(Mod, Module::AllVisible, Loc);
}
void Sema::ActOnPragmaRedefineExtname(IdentifierInfo* Name,
OpenPOWER on IntegriCloud