summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2014-04-23 12:57:01 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2014-04-23 12:57:01 +0000
commit2255f2ce90777f5a614e98840e57250816743b15 (patch)
treef9f16f7e2370ff6ee3e9633d654e19cdf2ebe80b /clang/unittests/Basic/SourceManagerTest.cpp
parent433790a69c8d038ebd22dab9cd2fedc6473ea5f7 (diff)
downloadbcm5719-llvm-2255f2ce90777f5a614e98840e57250816743b15.tar.gz
bcm5719-llvm-2255f2ce90777f5a614e98840e57250816743b15.zip
Initial implementation of -modules-earch-all option, for searching for symbols in non-imported modules.
llvm-svn: 206977
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
-rw-r--r--clang/unittests/Basic/SourceManagerTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp
index d94cfe9c3fa..b3796c34fec 100644
--- a/clang/unittests/Basic/SourceManagerTest.cpp
+++ b/clang/unittests/Basic/SourceManagerTest.cpp
@@ -63,6 +63,9 @@ class VoidModuleLoader : public ModuleLoader {
Module::NameVisibilityKind Visibility,
SourceLocation ImportLoc,
bool Complain) { }
+
+ virtual GlobalModuleIndex *loadGlobalModuleIndex(SourceLocation TriggerLoc)
+ { return 0; }
};
TEST_F(SourceManagerTest, isBeforeInTranslationUnit) {
OpenPOWER on IntegriCloud