summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp')
-rw-r--r--clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp b/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
index 58857fa5a13..4e22589069d 100644
--- a/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
+++ b/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
@@ -64,6 +64,9 @@ class VoidModuleLoader : public ModuleLoader {
Module::NameVisibilityKind Visibility,
SourceLocation ImportLoc,
bool Complain) { }
+
+ virtual GlobalModuleIndex *loadGlobalModuleIndex(SourceLocation TriggerLoc)
+ { return 0; }
};
TEST_F(PPConditionalDirectiveRecordTest, PPRecAPI) {
OpenPOWER on IntegriCloud