summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2011-10-26 21:06:34 +0000
committerAnna Zaks <ganna@apple.com>2011-10-26 21:06:34 +0000
commitda4c8d68110f8db56644ac0c1150fa3c04b6020c (patch)
treef791416d37489efa59719c51ff19b9e610f9d38b /clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
parent1b73ea342c95052ca3770cb9329dd0775642e778 (diff)
downloadbcm5719-llvm-da4c8d68110f8db56644ac0c1150fa3c04b6020c.tar.gz
bcm5719-llvm-da4c8d68110f8db56644ac0c1150fa3c04b6020c.zip
[analyzer] Rename generateNode -> addTransition in CheckerContext
Also document addTransition methods. llvm-svn: 143059
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
index 531d87e4263..7bdd4f34a73 100644
--- a/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
@@ -51,7 +51,7 @@ void FixedAddressChecker::checkPreStmt(const BinaryOperator *B,
if (!RV.isConstant() || RV.isZeroConstant())
return;
- if (ExplodedNode *N = C.generateNode()) {
+ if (ExplodedNode *N = C.addTransition()) {
if (!BT)
BT.reset(new BuiltinBug("Use fixed address",
"Using a fixed address is not portable because that "
OpenPOWER on IntegriCloud