Skip to content
Snippets Groups Projects
Commit cf848879 authored by Zhanyong Wan's avatar Zhanyong Wan
Browse files

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
parent b13453bd
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,8 @@ static inline const Stmt *MakeLocation(const Stmt *S) { ...@@ -101,7 +101,8 @@ static inline const Stmt *MakeLocation(const Stmt *S) {
Environment EnvironmentManager::bindExprAndLocation(Environment Env, Environment EnvironmentManager::bindExprAndLocation(Environment Env,
const Stmt *S, const Stmt *S,
SVal location, SVal V) { 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 { namespace {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment