aboutsummaryrefslogtreecommitdiff
path: root/include/clang/StaticAnalyzer/Core/Checker.h
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2011-10-25 19:56:54 +0000
committerAnna Zaks <ganna@apple.com>2011-10-25 19:56:54 +0000
commitf236b6503a4dbc44c1fccb8756bd57c9d0efdf05 (patch)
treef22c7a0ddbc24d0e3bf43f12b98215bd6d34e60a /include/clang/StaticAnalyzer/Core/Checker.h
parentaf498a28797c075c48d7e943df5f5a8e78ed8eb0 (diff)
[analyzer] Make branch for condition callback use CheckerContext
Now, all the path sensitive checkers use CheckerContext! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/StaticAnalyzer/Core/Checker.h')
-rw-r--r--include/clang/StaticAnalyzer/Core/Checker.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/clang/StaticAnalyzer/Core/Checker.h b/include/clang/StaticAnalyzer/Core/Checker.h
index 181080a213..358510ef0b 100644
--- a/include/clang/StaticAnalyzer/Core/Checker.h
+++ b/include/clang/StaticAnalyzer/Core/Checker.h
@@ -214,10 +214,9 @@ public:
class BranchCondition {
template <typename CHECKER>
- static void _checkBranchCondition(void *checker, const Stmt *condition,
- NodeBuilder &B, ExplodedNode *Pred,
- ExprEngine &Eng) {
- ((const CHECKER *)checker)->checkBranchCondition(condition, B, Pred, Eng);
+ static void _checkBranchCondition(void *checker, const Stmt *Condition,
+ CheckerContext & C) {
+ ((const CHECKER *)checker)->checkBranchCondition(Condition, C);
}
public: