summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Lex/PreprocessingRecordTest.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-11-30 00:01:57 +0000
committerDouglas Gregor <dgregor@apple.com>2012-11-30 00:01:57 +0000
commit8c05893746d277a7b3342c41321807a2644cef99 (patch)
tree28f38910100e068627916954e5f7a13e24578d3a /clang/unittests/Lex/PreprocessingRecordTest.cpp
parent7a626570ef4f457caab1302f238955aa1a2c7989 (diff)
downloadbcm5719-llvm-8c05893746d277a7b3342c41321807a2644cef99.tar.gz
bcm5719-llvm-8c05893746d277a7b3342c41321807a2644cef99.zip
Fix unit tests for ModuleLoader change in r168961.
llvm-svn: 168962
Diffstat (limited to 'clang/unittests/Lex/PreprocessingRecordTest.cpp')
-rw-r--r--clang/unittests/Lex/PreprocessingRecordTest.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/unittests/Lex/PreprocessingRecordTest.cpp b/clang/unittests/Lex/PreprocessingRecordTest.cpp
index 6056d55f9c8..2bf00483c0f 100644
--- a/clang/unittests/Lex/PreprocessingRecordTest.cpp
+++ b/clang/unittests/Lex/PreprocessingRecordTest.cpp
@@ -54,10 +54,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();
}
};
OpenPOWER on IntegriCloud