[cfe-commits] r106755 - /cfe/trunk/lib/Checker/StreamChecker.cpp
Ted Kremenek
kremenek at apple.com
Thu Jun 24 09:26:12 PDT 2010
Author: kremenek
Date: Thu Jun 24 11:26:12 2010
New Revision: 106755
URL: http://llvm.org/viewvc/llvm-project?rev=106755&view=rev
Log:
Return null pointer instead of 'false' (fixes clang warning).
Modified:
cfe/trunk/lib/Checker/StreamChecker.cpp
Modified: cfe/trunk/lib/Checker/StreamChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/StreamChecker.cpp?rev=106755&r1=106754&r2=106755&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/StreamChecker.cpp (original)
+++ cfe/trunk/lib/Checker/StreamChecker.cpp Thu Jun 24 11:26:12 2010
@@ -267,7 +267,7 @@
CheckerContext &C) {
const DefinedSVal *DV = dyn_cast<DefinedSVal>(&SV);
if (!DV)
- return false;
+ return 0;
ConstraintManager &CM = C.getConstraintManager();
const GRState *stateNotNull, *stateNull;
More information about the cfe-commits
mailing list