HomeSort by relevance Sort by last modified time
    Searched refs:CallExpr (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /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...]
  /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));
Visitor.java 38 public void atCallExpr(CallExpr n) throws CompileError {}
  /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/
ExprInspectionChecker.cpp 23 void analyzerEval(const CallExpr *CE, CheckerContext &C) const;
24 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const;
25 void analyzerWarnIfReached(const CallExpr *CE, CheckerContext &C) const;
26 void analyzerCrash(const CallExpr *CE, CheckerContext &C) const;
27 void analyzerWarnOnDeadSymbol(const CallExpr *CE, CheckerContext &C) const;
29 typedef void (ExprInspectionChecker::*FnCheck)(const CallExpr *,
33 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
40 bool ExprInspectionChecker::evalCall(const CallExpr *CE,
62 static const char *getArgumentValueString(const CallExpr *CE,
94 void ExprInspectionChecker::analyzerEval(const CallExpr *CE
    [all...]
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,
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 41 class ChrootChecker : public Checker<eval::Call, check::PreStmt<CallExpr> > {
54 bool evalCall(const CallExpr *CE, CheckerContext &C) const;
55 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const;
58 void Chroot(CheckerContext &C, const CallExpr *CE) const;
59 void Chdir(CheckerContext &C, const CallExpr *CE) const;
64 bool ChrootChecker::evalCall(const CallExpr *CE, CheckerContext &C) const {
87 void ChrootChecker::Chroot(CheckerContext &C, const CallExpr *CE) const {
97 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const {
124 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;
85 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE,
108 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(),
ObjCContainersASTChecker.cpp 82 void VisitCallExpr(CallExpr *CE);
86 static StringRef getCalleeName(CallExpr *CE) {
98 void WalkAST::VisitCallExpr(CallExpr *CE) {
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...]
  /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/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>(
TransGCCalls.cpp 37 bool VisitCallExpr(CallExpr *E) {
  /external/clang/lib/StaticAnalyzer/Core/
CheckerContext.cpp 22 const FunctionDecl *CheckerContext::getCalleeDecl(const CallExpr *CE) const {
  /external/clang/unittests/AST/
ASTTypeTraitsTest.cpp 57 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<CallExpr>()));
59 EXPECT_FALSE(DNT<CallExpr>().isBaseOf(DNT<BinaryOperator>()));
60 EXPECT_FALSE(DNT<BinaryOperator>().isBaseOf(DNT<CallExpr>()));
111 EXPECT_EQ("CallExpr", DNT<CallExpr>().asStringRef());

Completed in 370 milliseconds

1 2 3 4 5 6