[cfe-commits] r119899 - /cfe/trunk/lib/Checker/Environment.cpp

Zhanyong Wan wan at google.com
Fri Nov 19 23:52:48 PST 2010


Author: wan
Date: Sat Nov 20 01:52:48 2010
New Revision: 119899

URL: http://llvm.org/viewvc/llvm-project?rev=119899&view=rev
Log:
Fix a typo in EnvironmentManager::bindExprAndLocation(). Reviewed by kremenek.

Modified:
    cfe/trunk/lib/Checker/Environment.cpp

Modified: cfe/trunk/lib/Checker/Environment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/Environment.cpp?rev=119899&r1=119898&r2=119899&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/Environment.cpp (original)
+++ cfe/trunk/lib/Checker/Environment.cpp Sat Nov 20 01:52:48 2010
@@ -101,7 +101,8 @@
 Environment EnvironmentManager::bindExprAndLocation(Environment Env,
                                                     const Stmt *S,
                                                     SVal location, SVal V) {
-  return Environment(F.Add(F.Add(Env.ExprBindings, MakeLocation(S), V), S, V));
+  return Environment(F.Add(F.Add(Env.ExprBindings, MakeLocation(S), location),
+                           S, V));
 }
 
 namespace {





More information about the cfe-commits mailing list