Lines Matching refs:CE
55 bool VisitCallExpr(const CallExpr *CE) { in checkASTDecl()
56 Checker->visitCallExpr(CE); in checkASTDecl()
65 void visitCallExpr(const CallExpr *CE) const { in visitCallExpr()
66 if (shouldSkipCall(CE)) in visitCallExpr()
69 if (auto *F = CE->getDirectCallee()) { in visitCallExpr()
72 unsigned ArgIdx = isa<CXXOperatorCallExpr>(CE) && isa_and_nonnull<CXXMethodDecl>(F); in visitCallExpr()
79 P < F->param_end() && ArgIdx < CE->getNumArgs(); ++P, ++ArgIdx) { in visitCallExpr()
93 const auto *Arg = CE->getArg(ArgIdx); in visitCallExpr()
121 bool shouldSkipCall(const CallExpr *CE) const { in shouldSkipCall()
122 if (CE->getNumArgs() == 0) in shouldSkipCall()
127 if (auto *MemberOp = dyn_cast<CXXOperatorCallExpr>(CE)) { in shouldSkipCall()
133 const auto *Callee = CE->getDirectCallee(); in shouldSkipCall()