[clang-tools-extra] r192713 - ModuleAssistant: Fix warning, don't return bool as a pointer.
Will Dietz
wdietz2 at illinois.edu
Tue Oct 15 08:45:00 PDT 2013
Author: wdietz2
Date: Tue Oct 15 10:45:00 2013
New Revision: 192713
URL: http://llvm.org/viewvc/llvm-project?rev=192713&view=rev
Log:
ModuleAssistant: Fix warning, don't return bool as a pointer.
No functionality change intended.
Modified:
clang-tools-extra/trunk/modularize/ModuleAssistant.cpp
Modified: clang-tools-extra/trunk/modularize/ModuleAssistant.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/modularize/ModuleAssistant.cpp?rev=192713&r1=192712&r2=192713&view=diff
==============================================================================
--- clang-tools-extra/trunk/modularize/ModuleAssistant.cpp (original)
+++ clang-tools-extra/trunk/modularize/ModuleAssistant.cpp Tue Oct 15 10:45:00 2013
@@ -219,7 +219,7 @@ static Module *loadModuleDescriptions(
I != E; ++I) {
// Add as a module.
if (!addModuleDescription(RootModule, *I, HeaderPrefix, Dependencies))
- return false;
+ return NULL;
}
return RootModule;
More information about the cfe-commits
mailing list