summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-05-07 00:53:51 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-05-07 00:53:51 +0000
commit0f09df1f523b6217aeaecefb21bce17714d0d0f4 (patch)
treec1e0d3a0c876cec61ed119a6c731676fc99dcc4b /clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
parentea03214a5e3413cf95e388f28e4d9b9eeb30210a (diff)
downloadbcm5719-llvm-0f09df1f523b6217aeaecefb21bce17714d0d0f4.tar.gz
bcm5719-llvm-0f09df1f523b6217aeaecefb21bce17714d0d0f4.zip
Remove variable made unused by r156270.
llvm-svn: 156273
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp b/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
index 33d0d965645..34e8aaf071b 100644
--- a/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
+++ b/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
@@ -517,9 +517,6 @@ SVal SimpleSValBuilder::evalBinOpNN(ProgramStateRef state,
} else if (isa<SymbolData>(Sym)) {
- // LHS is a simple symbol (not a symbolic expression).
- QualType lhsType = Sym->getType(Context);
-
// Does the symbol simplify to a constant? If so, "fold" the constant
// by setting 'lhs' to a ConcreteInt and try again.
if (const llvm::APSInt *Constant = state->getSymVal(Sym)) {
OpenPOWER on IntegriCloud