Home
last modified time | relevance | path

Searched refs:callExpr (Results 1 – 18 of 18) sorted by relevance

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGCDAntipatternChecker.cpp93 auto SemaphoreCreateM = callExpr(allOf( in findGCDAntiPatternWithSemaphore()
107 auto ArgCallsSignalM = hasAnyArgument(stmt(hasDescendant(callExpr( in findGCDAntiPatternWithSemaphore()
118 callExpr(HasBlockAndCallsSignalM), in findGCDAntiPatternWithSemaphore()
123 callExpr( in findGCDAntiPatternWithSemaphore()
137 auto DispatchGroupCreateM = callExpr(callsName("dispatch_group_create")); in findGCDAntiPatternWithGroup()
146 stmt(callExpr(allOf(callsName("dispatch_group_enter"), in findGCDAntiPatternWithGroup()
153 auto ArgCallsSignalM = hasAnyArgument(stmt(hasDescendant(callExpr( in findGCDAntiPatternWithGroup()
164 callExpr(HasBlockAndCallsLeaveM), in findGCDAntiPatternWithGroup()
169 callExpr( in findGCDAntiPatternWithGroup()
H A DOSObjectCStyleCast.cpp86 auto DynamicCastM = callExpr(callee(functionDecl(hasName("safeMetaCast")))); in checkASTCodeBody()
94 auto AllocClassWithNameM = callExpr( in checkASTCodeBody()
H A DObjCAutoreleaseWriteChecker.cpp195 callExpr(ArgumentCaptureM), in checkASTCodeBody()
206 callExpr(allOf( in checkASTCodeBody()
H A DPointerSortingChecker.cpp91 stmt(callExpr(allOf(SortFuncM, IteratesPointerEltsM))).bind(WarnAtNode)); in matchSortWithPointers()
H A DRunLoopAutoreleaseLeakChecker.cpp143 callExpr(callee(functionDecl(hasName("xpc_main")))).bind(RunLoopRunBind); in getRunLoopRunM()
H A DNumberObjectConversionChecker.cpp278 callExpr(hasAnyArgument(allOf(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
H A DStreamChecker.cpp755 match(findAll(callExpr().bind("call")), *FD->getBody(), ACtx); in doesFnIntendToHandleOwnership()
H A DMallocChecker.cpp805 callExpr().bind("call")))), in doesFnIntendToHandleOwnership()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp365 callExpr(callee(expr(anyOf( in findDirectMutation()
371 callExpr(allOf( in findDirectMutation()
409 anyOf(callExpr(NonConstRefParam, NotInstantiated), in findDirectMutation()
414 callExpr(isTypeDependent(), hasAnyArgument(canResolveToExpr(Exp))), in findDirectMutation()
512 match(findAll(callExpr(callee(namedDecl( in findCastMutation()
628 expr(anyOf(callExpr(NonConstRefParam, IsInstantiated, FuncDecl, in findFunctionArgMutation()
H A DUnsafeBufferUsage.cpp289 auto CallArgMatcher = callExpr( in isInUnspecifiedPointerContext()
944 return stmt(callExpr(HasUnsafeFnDecl).bind(OpTag)); in matcher()
1011 Matcher callExpr = cxxMemberCallExpr( in matcher() local
1014 explicitCastExpr(anyOf(has(callExpr), has(parenExpr(has(callExpr))))) in matcher()
/src/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp124 return callExpr(isExpandedFromMacro(getMacroName(Macro, Cmp)), in gtestComparisonInternal()
139 callExpr(callee(functionDecl(hasName( in gtestThatInternal()
H A DASTMatchersInternal.cpp819 const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr; variable
/src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp194 Ignorable ? callExpr(unless(hasArgument(0, *Ignorable))) : callExpr()); in isOptionalOperatorCallWithName()
198 return callExpr(callee(functionDecl(hasAnyName( in isMakeOptionalCall()
253 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
260 return callExpr(callee(functionDecl(hasName("std::forward"))), in isStdForwardCall()
303 return callExpr(hasType(qualType( in isCallReturningOptional()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp538 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()
545 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp112 return callExpr(forEachArgumentWithParam( in callByRef()
/src/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1477 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr;
3964 return callExpr(hasDeclaration(InnerMatcher))
5099 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
5200 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
/src/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp161 REGISTER_MATCHER(callExpr); in RegistryMaps()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1518 Expr *callExpr = Res.getAs<Expr>(); in ActOnPropertyImplDecl() local
1520 dyn_cast_or_null<CXXOperatorCallExpr>(callExpr)) in ActOnPropertyImplDecl()