summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checker.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-01-13 04:36:46 +0000
committerTed Kremenek <kremenek@apple.com>2011-01-13 04:36:46 +0000
commitf41bdd7c244b5e0fc68482b6c8f195b61b5678ea (patch)
tree309b39e59785fc4596b494b63123b96211f9f63a /clang/lib/StaticAnalyzer/Checker.cpp
parentb86ec25256e295a9e5821e12fa8357514a3b0a91 (diff)
downloadbcm5719-llvm-f41bdd7c244b5e0fc68482b6c8f195b61b5678ea.tar.gz
bcm5719-llvm-f41bdd7c244b5e0fc68482b6c8f195b61b5678ea.zip
Rename 'HasGeneratedNode' to 'hasGeneratedNode'
and 'getBasePredecessor()' to 'getPredecessor()'. Also remove a unneeded save-and-restore of node builder's tag field. llvm-svn: 123363
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checker.cpp b/clang/lib/StaticAnalyzer/Checker.cpp
index 2ee910f8dff..c5112339c5d 100644
--- a/clang/lib/StaticAnalyzer/Checker.cpp
+++ b/clang/lib/StaticAnalyzer/Checker.cpp
@@ -24,7 +24,7 @@ CheckerContext::~CheckerContext() {
// without actually generated a new node. We also shouldn't autotransition
// if we are building sinks or we generated a node and decided to not
// add it as a transition.
- if (Dst.size() == size && !B.BuildSinks && !B.HasGeneratedNode) {
+ if (Dst.size() == size && !B.BuildSinks && !B.hasGeneratedNode) {
if (ST && ST != B.GetState(Pred)) {
static int autoTransitionTag = 0;
addTransition(ST, &autoTransitionTag);
OpenPOWER on IntegriCloud