aboutsummaryrefslogtreecommitdiff
path: root/unittests/Basic
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
commit5ebcb20b0331a6e64c213f0bb5f4bed9a9e8eb34 (patch)
tree45de9a64b0c676dcf9553b9880f7868e98a70c7a /unittests/Basic
parent95d912c994832333a998bc7d4ae0e8e830a2d38b (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 'unittests/Basic')
-rw-r--r--unittests/Basic/SourceManagerTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/Basic/SourceManagerTest.cpp b/unittests/Basic/SourceManagerTest.cpp
index 443d077145..a7beb8f090 100644
--- a/unittests/Basic/SourceManagerTest.cpp
+++ b/unittests/Basic/SourceManagerTest.cpp
@@ -60,7 +60,8 @@ class VoidModuleLoader : public ModuleLoader {
}
virtual void makeModuleVisible(Module *Mod,
- Module::NameVisibilityKind Visibility) { }
+ Module::NameVisibilityKind Visibility,
+ SourceLocation ImportLoc) { }
};
TEST_F(SourceManagerTest, isBeforeInTranslationUnit) {