[cfe-commits] r146056 - /cfe/trunk/lib/StaticAnalyzer/Core/ProgramState.cpp
Anna Zaks
ganna at apple.com
Wed Dec 7 11:56:13 PST 2011
Author: zaks
Date: Wed Dec 7 13:56:13 2011
New Revision: 146056
URL: http://llvm.org/viewvc/llvm-project?rev=146056&view=rev
Log:
[analyzer] Cleanup: use the variable.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/ProgramState.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/ProgramState.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/ProgramState.cpp?rev=146056&r1=146055&r2=146056&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/ProgramState.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/ProgramState.cpp Wed Dec 7 13:56:13 2011
@@ -665,7 +665,7 @@
bool ProgramState::isTainted(const Stmt *S, TaintTagType Kind) const {
SVal val = getSVal(S);
- return isTainted(getSVal(S), Kind);
+ return isTainted(val, Kind);
}
bool ProgramState::isTainted(SVal V, TaintTagType Kind) const {
More information about the cfe-commits
mailing list