/external/clang/unittests/Tooling/ |
LookupTest.cpp | 16 std::function<void(CallExpr *)> OnCall; 19 bool VisitCallExpr(CallExpr *Expr) { 35 auto replaceCallExpr = [&](const CallExpr *Expr, 44 Visitor.OnCall = [&](CallExpr *Expr) { 50 Visitor.OnCall = [&](CallExpr *Expr) { 56 Visitor.OnCall = [&](CallExpr *Expr) { 62 Visitor.OnCall = [&](CallExpr *Expr) { 69 Visitor.OnCall = [&](CallExpr *Expr) { 75 Visitor.OnCall = [&](CallExpr *Expr) { 81 Visitor.OnCall = [&](CallExpr *Expr) [all...] |
FixItTest.cpp | 23 bool VisitCallExpr(CallExpr *Expr) { 28 std::function<void(CallExpr *, ASTContext *Context)> OnCall; 38 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { 49 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { 59 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { 70 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { 84 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { 104 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { 119 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) { 146 Visitor.OnCall = [](CallExpr *CE, ASTContext *Context) [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
CallExpr.java | 25 public class CallExpr extends Expr { 28 private CallExpr(ASTree _head, ASTList _tail) { 41 public static CallExpr makeCall(ASTree target, ASTree args) { 42 return new CallExpr(target, new ASTList(args));
|
/frameworks/compile/slang/ |
slang_rs_foreach_lowering.h | 24 class CallExpr; 44 void VisitCallExpr(clang::CallExpr *CE); 56 const clang::FunctionDecl* matchKernelLaunchCall(clang::CallExpr* CE,
|
slang_rs_check_ast.h | 46 void WarnOnSetElementAt(clang::CallExpr*); 62 void VisitCallExpr(clang::CallExpr *CE);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
MacOSXAPIChecker.cpp | 33 class MacOSXAPIChecker : public Checker< check::PreStmt<CallExpr> > { 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 39 void CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 43 const CallExpr *, 52 void MacOSXAPIChecker::CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 104 void MacOSXAPIChecker::checkPreStmt(const CallExpr *CE,
|
ExprInspectionChecker.cpp | 24 void analyzerEval(const CallExpr *CE, CheckerContext &C) const; 25 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const; 26 void analyzerWarnIfReached(const CallExpr *CE, CheckerContext &C) const; 27 void analyzerCrash(const CallExpr *CE, CheckerContext &C) const; 28 void analyzerWarnOnDeadSymbol(const CallExpr *CE, CheckerContext &C) const; 29 void analyzerExplain(const CallExpr *CE, CheckerContext &C) const; 30 void analyzerGetExtent(const CallExpr *CE, CheckerContext &C) const; 32 typedef void (ExprInspectionChecker::*FnCheck)(const CallExpr *, 38 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 45 bool ExprInspectionChecker::evalCall(const CallExpr *CE [all...] |
UnixAPIChecker.cpp | 32 class UnixAPIChecker : public Checker< check::PreStmt<CallExpr> > { 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 39 void CheckOpen(CheckerContext &C, const CallExpr *CE) const; 40 void CheckPthreadOnce(CheckerContext &C, const CallExpr *CE) const; 41 void CheckCallocZero(CheckerContext &C, const CallExpr *CE) const; 42 void CheckMallocZero(CheckerContext &C, const CallExpr *CE) const; 43 void CheckReallocZero(CheckerContext &C, const CallExpr *CE) const; 44 void CheckReallocfZero(CheckerContext &C, const CallExpr *CE) const; 45 void CheckAllocaZero(CheckerContext &C, const CallExpr *CE) const; 46 void CheckVallocZero(CheckerContext &C, const CallExpr *CE) const [all...] |
VirtualCallChecker.cpp | 35 typedef const CallExpr * WorkListUnit; 41 // PreVisited : A CallExpr to this FunctionDecl is in the worklist, but the 43 // PostVisited : A CallExpr to this FunctionDecl is in the worklist, and the 46 PreVisited, /**< A CallExpr to this FunctionDecl is in the 49 PostVisited /**< A CallExpr to this FunctionDecl is in the 56 /// The CallExpr whose body is currently being visited. This is used for 59 const CallExpr *visitingCallExpr; 68 /// This method adds a CallExpr to the worklist and marks the callee as 96 SaveAndRestore<const CallExpr *> SaveCall(visitingCallExpr, WLUnit); 113 void VisitCallExpr(CallExpr *CE) [all...] |
ChrootChecker.cpp | 42 class ChrootChecker : public Checker<eval::Call, check::PreStmt<CallExpr> > { 55 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 56 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 59 void Chroot(CheckerContext &C, const CallExpr *CE) const; 60 void Chdir(CheckerContext &C, const CallExpr *CE) const; 65 bool ChrootChecker::evalCall(const CallExpr *CE, CheckerContext &C) const { 88 void ChrootChecker::Chroot(CheckerContext &C, const CallExpr *CE) const { 98 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const { 125 void ChrootChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const {
|
StreamChecker.cpp | 76 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 80 void Fopen(CheckerContext &C, const CallExpr *CE) const; 81 void Tmpfile(CheckerContext &C, const CallExpr *CE) const; 82 void Fclose(CheckerContext &C, const CallExpr *CE) const; 83 void Fread(CheckerContext &C, const CallExpr *CE) const; 84 void Fwrite(CheckerContext &C, const CallExpr *CE) const; 85 void Fseek(CheckerContext &C, const CallExpr *CE) const; 86 void Ftell(CheckerContext &C, const CallExpr *CE) const; 87 void Rewind(CheckerContext &C, const CallExpr *CE) const; 88 void Fgetpos(CheckerContext &C, const CallExpr *CE) const [all...] |
GenericTaintChecker.cpp | 31 class GenericTaintChecker : public Checker< check::PostStmt<CallExpr>, 32 check::PreStmt<CallExpr> > { 36 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 38 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 53 bool checkPre(const CallExpr *CE, CheckerContext &C) const; 56 void addSourcesPre(const CallExpr *CE, CheckerContext &C) const; 59 bool propagateFromPre(const CallExpr *CE, CheckerContext &C) const; 62 void addSourcesPost(const CallExpr *CE, CheckerContext &C) const; 73 typedef ProgramStateRef (GenericTaintChecker::*FnCheck)(const CallExpr *, 75 ProgramStateRef postScanf(const CallExpr *CE, CheckerContext &C) const [all...] |
PthreadLockChecker.cpp | 52 class PthreadLockChecker : public Checker< check::PostStmt<CallExpr> > { 64 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 66 void AcquireLock(CheckerContext &C, const CallExpr *CE, SVal lock, 69 void ReleaseLock(CheckerContext &C, const CallExpr *CE, SVal lock) const; 70 void DestroyLock(CheckerContext &C, const CallExpr *CE, SVal Lock) const; 71 void InitLock(CheckerContext &C, const CallExpr *CE, SVal Lock) const; 72 void reportUseDestroyedBug(CheckerContext &C, const CallExpr *CE) const; 81 void PthreadLockChecker::checkPostStmt(const CallExpr *CE, 124 void PthreadLockChecker::AcquireLock(CheckerContext &C, const CallExpr *CE, 193 void PthreadLockChecker::ReleaseLock(CheckerContext &C, const CallExpr *CE [all...] |
CStringSyntaxChecker.cpp | 57 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) { 82 bool containsBadStrncatPattern(const CallExpr *CE); 93 void VisitCallExpr(CallExpr *CE); 103 bool WalkAST::containsBadStrncatPattern(const CallExpr *CE) { 135 void WalkAST::VisitCallExpr(CallExpr *CE) {
|
CheckSecuritySyntaxOnly.cpp | 79 void VisitCallExpr(CallExpr *CE); 87 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 89 typedef void (WalkAST::*FnCheck)(const CallExpr *, const FunctionDecl *); 93 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 94 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 95 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 96 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD); 97 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD); 98 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD); 99 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) [all...] |
ObjCContainersChecker.cpp | 31 class ObjCContainersChecker : public Checker< check::PreStmt<CallExpr>, 32 check::PostStmt<CallExpr>, 54 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 55 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 84 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE, 107 void ObjCContainersChecker::checkPreStmt(const CallExpr *CE,
|
BuiltinFunctionChecker.cpp | 27 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 32 bool BuiltinFunctionChecker::evalCall(const CallExpr *CE,
|
MallocSizeofChecker.cpp | 31 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair; 43 const CallExpr *AllocCall; 47 const CallExpr *AllocCall) 91 TypeCallPair VisitCallExpr(const CallExpr *E) { 191 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(),
|
CStringChecker.cpp | 62 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 76 const CallExpr *) const; 78 void evalMemcpy(CheckerContext &C, const CallExpr *CE) const; 79 void evalMempcpy(CheckerContext &C, const CallExpr *CE) const; 80 void evalMemmove(CheckerContext &C, const CallExpr *CE) const; 81 void evalBcopy(CheckerContext &C, const CallExpr *CE) const; 82 void evalCopyCommon(CheckerContext &C, const CallExpr *CE, 90 void evalMemcmp(CheckerContext &C, const CallExpr *CE) const; 92 void evalstrLength(CheckerContext &C, const CallExpr *CE) const; 93 void evalstrnLength(CheckerContext &C, const CallExpr *CE) const [all...] |
ObjCContainersASTChecker.cpp | 81 void VisitCallExpr(CallExpr *CE); 85 static StringRef getCalleeName(CallExpr *CE) { 97 void WalkAST::VisitCallExpr(CallExpr *CE) {
|
/external/clang/examples/analyzer-plugin/ |
MainCallChecker.cpp | 10 class MainCallChecker : public Checker < check::PreStmt<CallExpr> > { 14 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 18 void MainCallChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const {
|
/external/v8/tools/clang/blink_gc_plugin/ |
CheckTraceVisitor.h | 29 bool VisitCallExpr(clang::CallExpr* call); 38 clang::CallExpr* call, 40 bool CheckTraceBaseCall(clang::CallExpr* call);
|
CheckFinalizerVisitor.h | 43 bool WalkUpFromCallExpr(clang::CallExpr* expr);
|
/external/v8/tools/clang/plugins/ |
CheckIPCVisitor.h | 50 void VisitCallExpr(clang::CallExpr* call_expr); 57 bool ValidateWriteParam(const clang::CallExpr* call_expr); 58 bool ValidateWriteParamSignature(const clang::CallExpr* call_expr);
|
/external/clang/lib/ARCMigrate/ |
TransUnbridgedCasts.cpp | 135 if (CallExpr *callE = dyn_cast<CallExpr>(inner)) { 276 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) { 357 CallExpr *callE; 417 bool isPassedToCFRetain(Expr *E, CallExpr *&callE) const { 418 if ((callE = dyn_cast_or_null<CallExpr>( 431 if (CallExpr *callE = dyn_cast_or_null<CallExpr>(
|