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 | 8c05893746d277a7b3342c41321807a2644cef99 (patch) | |
tree | 28f38910100e068627916954e5f7a13e24578d3a /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 7a626570ef4f457caab1302f238955aa1a2c7989 (diff) | |
download | bcm5719-llvm-8c05893746d277a7b3342c41321807a2644cef99.tar.gz bcm5719-llvm-8c05893746d277a7b3342c41321807a2644cef99.zip |
Fix unit tests for ModuleLoader change in r168961.
llvm-svn: 168962
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
-rw-r--r-- | clang/unittests/Basic/SourceManagerTest.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp index 066a7e0fd18..477645d7a02 100644 --- a/clang/unittests/Basic/SourceManagerTest.cpp +++ b/clang/unittests/Basic/SourceManagerTest.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(); } }; |