diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-10 05:00:06 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-10 05:00:06 +0000 |
commit | 1c31dbe417450f4b7310c26d9ad13a14de84f159 (patch) | |
tree | 3bda59a974d64f2fa29b106ad7bf21f2bcb04c0a /clang/lib/Analysis/BasicConstraintManager.cpp | |
parent | 25f0106fd9e364c385c69137c42521492e509b71 (diff) | |
download | bcm5719-llvm-1c31dbe417450f4b7310c26d9ad13a14de84f159.tar.gz bcm5719-llvm-1c31dbe417450f4b7310c26d9ad13a14de84f159.zip |
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
Diffstat (limited to 'clang/lib/Analysis/BasicConstraintManager.cpp')
-rw-r--r-- | clang/lib/Analysis/BasicConstraintManager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Analysis/BasicConstraintManager.cpp b/clang/lib/Analysis/BasicConstraintManager.cpp index ea13ea30f2c..b09d9de4469 100644 --- a/clang/lib/Analysis/BasicConstraintManager.cpp +++ b/clang/lib/Analysis/BasicConstraintManager.cpp @@ -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. } } } |