]> granicus.if.org Git - clang/commitdiff
Fix typo spotted by MSVC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 25 Dec 2009 09:44:02 +0000 (09:44 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 25 Dec 2009 09:44:02 +0000 (09:44 +0000)
GRExprEngine.cpp(1348) : warning C4305: 'argument' : truncation from 'clang::ProgramPoint::Kind' to 'bool'

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92154 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRExprEngine.cpp

index 4fafcf5647b79760229d1d1f72f3954d435d6179..11f821463332ef4910ef710e4df1580fa3821602 100644 (file)
@@ -1344,8 +1344,8 @@ void GRExprEngine::VisitCommonDeclRefExpr(Expr *Ex, const NamedDecl *D,
           V = UnknownVal();
       }
       
-      MakeNode(Dst, Ex, Pred, state->BindExpr(Ex, V,
-                                              ProgramPoint::PostLValueKind));
+      MakeNode(Dst, Ex, Pred, state->BindExpr(Ex, V),
+               ProgramPoint::PostLValueKind);
     }
     else
       EvalLoad(Dst, Ex, Pred, state, V);