diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-09-26 06:00:14 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-09-26 06:00:14 +0000 |
commit | 732cdf383f9030ff2b9fb28dfbdae2285ded80c6 (patch) | |
tree | 269e7563570a5b2194168482e9e4940237c327f3 /lib/StaticAnalyzer/Core/ProgramState.cpp | |
parent | 385cc5f01b59af0183a825351d93695ca7185091 (diff) |
Remove unnecessary ASTContext& parameter from SymExpr::getType().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ProgramState.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/ProgramState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/ProgramState.cpp b/lib/StaticAnalyzer/Core/ProgramState.cpp index 56c6c04df0..2d925775ad 100644 --- a/lib/StaticAnalyzer/Core/ProgramState.cpp +++ b/lib/StaticAnalyzer/Core/ProgramState.cpp @@ -737,7 +737,7 @@ DynamicTypeInfo ProgramState::getDynamicTypeInfo(const MemRegion *Reg) const { if (const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(Reg)) { SymbolRef Sym = SR->getSymbol(); - return DynamicTypeInfo(Sym->getType(getStateManager().getContext())); + return DynamicTypeInfo(Sym->getType()); } return DynamicTypeInfo(); |