Home
last modified time | relevance | path

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

/freebsd-14.2/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 DMallocChecker.cpp825 callExpr().bind("call")))), in doesFnIntendToHandleOwnership()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp353 callExpr(callee(expr(anyOf( in findDirectMutation()
359 callExpr(allOf( in findDirectMutation()
401 callExpr(NonConstRefParam, NotInstantiated), in findDirectMutation()
403 callExpr(TypeDependentCallee, hasAnyArgument(canResolveToExpr(Exp))), in findDirectMutation()
499 match(findAll(callExpr(callee(namedDecl( in findCastMutation()
612 expr(anyOf(callExpr(NonConstRefParam, IsInstantiated, FuncDecl, in findFunctionArgMutation()
H A DUnsafeBufferUsage.cpp275 callExpr(forEachArgumentWithParam(InnerMatcher, in isInUnspecifiedPointerContext()
716 return stmt(callExpr(callee(functionDecl(hasAttr(attr::UnsafeBufferUsage)))) in matcher()
742 Matcher callExpr = cxxMemberCallExpr( in matcher() local
745 explicitCastExpr(anyOf(has(callExpr), has(parenExpr(has(callExpr))))) in matcher()
/freebsd-14.2/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
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp108 Ignorable ? callExpr(unless(hasArgument(0, *Ignorable))) : callExpr()); in isOptionalOperatorCallWithName()
112 return callExpr(callee(functionDecl(hasAnyName( in isMakeOptionalCall()
167 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
173 return callExpr(callee(functionDecl(hasName("std::forward"))), in isStdForwardCall()
215 return callExpr(hasType(qualType(anyOf( in isCallReturningOptional()
/freebsd-14.2/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp112 return callExpr(forEachArgumentWithParam( in callByRef()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1476 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr;
3963 return callExpr(hasDeclaration(InnerMatcher))
5078 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
5178 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp161 REGISTER_MATCHER(callExpr); in RegistryMaps()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp1539 Expr *callExpr = Res.getAs<Expr>(); in ActOnPropertyImplDecl() local
1541 dyn_cast_or_null<CXXOperatorCallExpr>(callExpr)) in ActOnPropertyImplDecl()