From e73d2a9fff82a5c22d923d47cdf81593e4b9425b Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 12 Jan 2013 02:16:29 +0000 Subject: clang/unittests: Fixup corresponding to r172290. llvm-svn: 172295 --- clang/unittests/Lex/LexerTest.cpp | 3 +++ clang/unittests/Lex/PPCallbacksTest.cpp | 3 +++ clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp | 3 +++ 3 files changed, 9 insertions(+) (limited to 'clang/unittests/Lex') diff --git a/clang/unittests/Lex/LexerTest.cpp b/clang/unittests/Lex/LexerTest.cpp index 7fca7f4e498..a7c62849513 100644 --- a/clang/unittests/Lex/LexerTest.cpp +++ b/clang/unittests/Lex/LexerTest.cpp @@ -59,6 +59,9 @@ class VoidModuleLoader : public ModuleLoader { bool IsInclusionDirective) { return ModuleLoadResult(); } + + virtual void makeModuleVisible(Module *Mod, + Module::NameVisibilityKind Visibility) { } }; TEST_F(LexerTest, LexAPI) { diff --git a/clang/unittests/Lex/PPCallbacksTest.cpp b/clang/unittests/Lex/PPCallbacksTest.cpp index 295fa407ddc..3cf0ed4db7d 100644 --- a/clang/unittests/Lex/PPCallbacksTest.cpp +++ b/clang/unittests/Lex/PPCallbacksTest.cpp @@ -36,6 +36,9 @@ class VoidModuleLoader : public ModuleLoader { bool IsInclusionDirective) { return ModuleLoadResult(); } + + virtual void makeModuleVisible(Module *Mod, + Module::NameVisibilityKind Visibility) { } }; // Stub to collect data from InclusionDirective callbacks. diff --git a/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp b/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp index 24e317ea007..80c352d66ae 100644 --- a/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp +++ b/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp @@ -59,6 +59,9 @@ class VoidModuleLoader : public ModuleLoader { bool IsInclusionDirective) { return ModuleLoadResult(); } + + virtual void makeModuleVisible(Module *Mod, + Module::NameVisibilityKind Visibility) { } }; TEST_F(PPConditionalDirectiveRecordTest, PPRecAPI) { -- cgit v1.2.3