diff options
author | Anna Zaks <ganna@apple.com> | 2011-10-26 21:06:34 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-10-26 21:06:34 +0000 |
commit | da4c8d68110f8db56644ac0c1150fa3c04b6020c (patch) | |
tree | f791416d37489efa59719c51ff19b9e610f9d38b /clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp | |
parent | 1b73ea342c95052ca3770cb9329dd0775642e778 (diff) | |
download | bcm5719-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/CastToStructChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp index c8552106671..2a3da7800c5 100644 --- a/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp @@ -56,7 +56,7 @@ void CastToStructChecker::checkPreStmt(const CastExpr *CE, // Now the cast-to-type is struct pointer, the original type is not void*. if (!OrigPointeeTy->isRecordType()) { - if (ExplodedNode *N = C.generateNode()) { + if (ExplodedNode *N = C.addTransition()) { if (!BT) BT.reset(new BuiltinBug("Cast from non-struct type to struct type", "Casting a non-structure type to a structure type " |