diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-02-01 16:36:12 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-02-01 16:36:12 +0000 |
commit | 5ebcb20b0331a6e64c213f0bb5f4bed9a9e8eb34 (patch) | |
tree | 45de9a64b0c676dcf9553b9880f7868e98a70c7a /lib/Sema/SemaDecl.cpp | |
parent | 95d912c994832333a998bc7d4ae0e8e830a2d38b (diff) |
For ModuleLoader::makeModuleVisible() also pass the source location where the
module import occurred.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 0d549fcc18..45f7cae960 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/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, |