Home | History | Annotate | Download | only in Checkers

Lines Matching refs:CE

56     if (const CallExpr *CE = dyn_cast<CallExpr>(E)) {
57 const FunctionDecl *FD = CE->getDirectCallee();
61 sameDecl(CE->getArg(0), WithArg));
81 bool containsBadStrncatPattern(const CallExpr *CE);
93 void VisitCallExpr(CallExpr *CE);
103 bool WalkAST::containsBadStrncatPattern(const CallExpr *CE) {
104 if (CE->getNumArgs() != 3)
106 const Expr *DstArg = CE->getArg(0);
107 const Expr *SrcArg = CE->getArg(1);
108 const Expr *LenArg = CE->getArg(2);
135 void WalkAST::VisitCallExpr(CallExpr *CE) {
136 const FunctionDecl *FD = CE->getDirectCallee();
141 if (containsBadStrncatPattern(CE)) {
142 const Expr *DstArg = CE->getArg(0);
143 const Expr *LenArg = CE->getArg(2);
167 VisitChildren(CE);