diff options
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Checker/Environment.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Checker/Environment.cpp b/clang/lib/Checker/Environment.cpp index 02291f43500..10644ccc144 100644 --- a/clang/lib/Checker/Environment.cpp +++ b/clang/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 { |

