Remove unnecessary ASTContext& parameter from SymExpr::getType().

llvm-svn: 164661
This commit is contained in:
Ted Kremenek
2012-09-26 06:00:14 +00:00
parent ca496f34a2
commit a808e165b2
10 changed files with 31 additions and 33 deletions

View File

@@ -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();