Lines Matching refs:CE
54 bool VisitCallExpr(const CallExpr *CE) { in checkASTDecl()
55 Checker->visitCallExpr(CE); in checkASTDecl()
64 void visitCallExpr(const CallExpr *CE) const { in visitCallExpr()
65 if (shouldSkipCall(CE)) in visitCallExpr()
68 if (auto *F = CE->getDirectCallee()) { in visitCallExpr()
71 unsigned ArgIdx = isa<CXXOperatorCallExpr>(CE) && isa_and_nonnull<CXXMethodDecl>(F); in visitCallExpr()
78 P < F->param_end() && ArgIdx < CE->getNumArgs(); ++P, ++ArgIdx) { in visitCallExpr()
92 const auto *Arg = CE->getArg(ArgIdx); in visitCallExpr()
120 bool shouldSkipCall(const CallExpr *CE) const { in shouldSkipCall()
121 if (CE->getNumArgs() == 0) in shouldSkipCall()
126 if (auto *MemberOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in shouldSkipCall()
132 const auto *Callee = CE->getDirectCallee(); in shouldSkipCall()