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/PPCallbacksTest.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/PPCallbacksTest.cpp')
-rw-r--r-- | unittests/Lex/PPCallbacksTest.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/unittests/Lex/PPCallbacksTest.cpp b/unittests/Lex/PPCallbacksTest.cpp index b388527791..02b374bc43 100644 --- a/unittests/Lex/PPCallbacksTest.cpp +++ b/unittests/Lex/PPCallbacksTest.cpp @@ -32,10 +32,11 @@ namespace { // Stub out module loading. 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(); } }; |