forked from OSchip/llvm-project
Print integer value instead of raw pointer. This is a hack to be fixed by migrating the output in analyzer to llvm::raw_ostream.
llvm-svn: 58965
This commit is contained in:
parent
25f0106fd9
commit
1c31dbe417
|
@ -258,8 +258,6 @@ BasicConstraintManager::AssumeSymInt(const GRState* St, bool Assumption,
|
|||
} // end switch
|
||||
}
|
||||
|
||||
|
||||
|
||||
const GRState*
|
||||
BasicConstraintManager::AssumeSymNE(const GRState* St, SymbolID sym,
|
||||
const llvm::APSInt& V, bool& isFeasible) {
|
||||
|
@ -481,7 +479,7 @@ void BasicConstraintManager::print(const GRState* St, std::ostream& Out,
|
|||
if (isFirst) isFirst = false;
|
||||
else Out << ", ";
|
||||
|
||||
Out << *J;
|
||||
Out << (*J)->getSExtValue(); // Hack: should print to raw_ostream.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue