Lines Matching refs:ExprInspectionChecker
1 //==- ExprInspectionChecker.cpp - Used for regression tests ------*- C++ -*-==//
20 class ExprInspectionChecker : public Checker<eval::Call, check::DeadSymbols> {
29 typedef void (ExprInspectionChecker::*FnCheck)(const CallExpr *,
40 bool ExprInspectionChecker::evalCall(const CallExpr *CE,
45 .Case("clang_analyzer_eval", &ExprInspectionChecker::analyzerEval)
47 &ExprInspectionChecker::analyzerCheckInlined)
48 .Case("clang_analyzer_crash", &ExprInspectionChecker::analyzerCrash)
50 &ExprInspectionChecker::analyzerWarnIfReached)
52 &ExprInspectionChecker::analyzerWarnOnDeadSymbol)
94 void ExprInspectionChecker::analyzerEval(const CallExpr *CE,
113 void ExprInspectionChecker::analyzerWarnIfReached(const CallExpr *CE,
125 void ExprInspectionChecker::analyzerCheckInlined(const CallExpr *CE,
147 void ExprInspectionChecker::analyzerWarnOnDeadSymbol(const CallExpr *CE,
161 void ExprInspectionChecker::checkDeadSymbols(SymbolReaper &SymReaper,
182 void ExprInspectionChecker::analyzerCrash(const CallExpr *CE,
188 Mgr.registerChecker<ExprInspectionChecker>();