diff --git a/clang/lib/Checker/StreamChecker.cpp b/clang/lib/Checker/StreamChecker.cpp index 98d6993cbf46..c527ca24496f 100644 --- a/clang/lib/Checker/StreamChecker.cpp +++ b/clang/lib/Checker/StreamChecker.cpp @@ -267,7 +267,7 @@ const GRState *StreamChecker::CheckNullStream(SVal SV, const GRState *state, CheckerContext &C) { const DefinedSVal *DV = dyn_cast(&SV); if (!DV) - return false; + return 0; ConstraintManager &CM = C.getConstraintManager(); const GRState *stateNotNull, *stateNull;