diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-12 02:16:29 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-12 02:16:29 +0000 |
commit | e73d2a9fff82a5c22d923d47cdf81593e4b9425b (patch) | |
tree | b408f667fac04e7c77794558ba8ef98e1bc5c9f0 /clang/unittests/Lex | |
parent | c51cd47549c73c7dfbab855efa667856058d0702 (diff) | |
download | bcm5719-llvm-e73d2a9fff82a5c22d923d47cdf81593e4b9425b.tar.gz bcm5719-llvm-e73d2a9fff82a5c22d923d47cdf81593e4b9425b.zip |
clang/unittests: Fixup corresponding to r172290.
llvm-svn: 172295
Diffstat (limited to 'clang/unittests/Lex')
-rw-r--r-- | clang/unittests/Lex/LexerTest.cpp | 3 | ||||
-rw-r--r-- | clang/unittests/Lex/PPCallbacksTest.cpp | 3 | ||||
-rw-r--r-- | clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp | 3 |
3 files changed, 9 insertions, 0 deletions
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) { |