From: Zhanyong Wan Date: Sat, 20 Nov 2010 07:52:48 +0000 (+0000) Subject: Fix a typo in EnvironmentManager::bindExprAndLocation(). Reviewed by kremenek. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf848879ff280e7114f78e058019c1e8b527b3c9;p=clang Fix a typo in EnvironmentManager::bindExprAndLocation(). Reviewed by kremenek. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119899 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Checker/Environment.cpp b/lib/Checker/Environment.cpp index 02291f4350..10644ccc14 100644 --- a/lib/Checker/Environment.cpp +++ b/lib/Checker/Environment.cpp @@ -101,7 +101,8 @@ static inline const Stmt *MakeLocation(const Stmt *S) { 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 {