diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-11-30 00:01:57 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-11-30 00:01:57 +0000 |
commit | 7dff05bf3019995798def5d1066e4282b8578df6 (patch) | |
tree | 913b4a1fd2150c988447cec033af5504e46fa532 /unittests/Lex/LexerTest.cpp | |
parent | 463d90986ec54c62bf8fe31193ef5db701db48a5 (diff) |
Fix unit tests for ModuleLoader change in r168961.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Lex/LexerTest.cpp')
-rw-r--r-- | unittests/Lex/LexerTest.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/unittests/Lex/LexerTest.cpp b/unittests/Lex/LexerTest.cpp index ed4c815a8a..d8dd2870b1 100644 --- a/unittests/Lex/LexerTest.cpp +++ b/unittests/Lex/LexerTest.cpp @@ -53,10 +53,11 @@ protected: }; class VoidModuleLoader : public ModuleLoader { - virtual Module *loadModule(SourceLocation ImportLoc, ModuleIdPath Path, - Module::NameVisibilityKind Visibility, - bool IsInclusionDirective) { - return 0; + virtual ModuleLoadResult loadModule(SourceLocation ImportLoc, + ModuleIdPath Path, + Module::NameVisibilityKind Visibility, + bool IsInclusionDirective) { + return ModuleLoadResult(); } }; |