summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Lex/PPCallbacksTest.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/unittests/Lex/PPCallbacksTest.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/unittests/Lex/PPCallbacksTest.cpp')
-rw-r--r--clang/unittests/Lex/PPCallbacksTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/unittests/Lex/PPCallbacksTest.cpp b/clang/unittests/Lex/PPCallbacksTest.cpp
index 073e07cbb4f..13104cbc039 100644
--- a/clang/unittests/Lex/PPCallbacksTest.cpp
+++ b/clang/unittests/Lex/PPCallbacksTest.cpp
@@ -38,7 +38,8 @@ class VoidModuleLoader : public ModuleLoader {
}
virtual void makeModuleVisible(Module *Mod,
- Module::NameVisibilityKind Visibility) { }
+ Module::NameVisibilityKind Visibility,
+ SourceLocation ImportLoc) { }
};
// Stub to collect data from InclusionDirective callbacks.
OpenPOWER on IntegriCloud