diff options
author | Zhanyong Wan <wan@google.com> | 2010-11-20 07:52:48 +0000 |
---|---|---|
committer | Zhanyong Wan <wan@google.com> | 2010-11-20 07:52:48 +0000 |
commit | cf848879ff280e7114f78e058019c1e8b527b3c9 (patch) | |
tree | 6744ff958ca190572fe702b2f8af18f9e23f0e4d /lib/Checker/Environment.cpp | |
parent | b13453bd8a91f331d0910ca95ad52aa41b52f648 (diff) |
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
Diffstat (limited to 'lib/Checker/Environment.cpp')
-rw-r--r-- | lib/Checker/Environment.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |