diff options
Diffstat (limited to 'clang/unittests/Lex/PPCallbacksTest.cpp')
-rw-r--r-- | clang/unittests/Lex/PPCallbacksTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/unittests/Lex/PPCallbacksTest.cpp b/clang/unittests/Lex/PPCallbacksTest.cpp index e3a4a76a774..3c953c20912 100644 --- a/clang/unittests/Lex/PPCallbacksTest.cpp +++ b/clang/unittests/Lex/PPCallbacksTest.cpp @@ -45,6 +45,9 @@ class VoidModuleLoader : public ModuleLoader { Module::NameVisibilityKind Visibility, SourceLocation ImportLoc, bool Complain) { } + + virtual GlobalModuleIndex *loadGlobalModuleIndex(SourceLocation TriggerLoc) + { return 0; } }; // Stub to collect data from InclusionDirective callbacks. |