Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp289 callExpr( in findDirectMutation()
296 callExpr(allOf(isTypeDependent(), in findDirectMutation()
339 callExpr(NonConstRefParam, NotInstantiated), in findDirectMutation()
341 callExpr(TypeDependentCallee, in findDirectMutation()
441 match(findAll(callExpr(callee(namedDecl( in findCastMutation()
556 expr(anyOf(callExpr(NonConstRefParam, IsInstantiated, FuncDecl, in findFunctionArgMutation()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp125 return callExpr(isExpandedFromMacro(getMacroName(Macro, Cmp)), in gtestComparisonInternal()
140 callExpr(callee(functionDecl(hasName( in gtestThatInternal()
H A DASTMatchersInternal.cpp818 const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr; variable
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp76 Ignorable ? callExpr(unless(hasArgument(0, *Ignorable))) : callExpr()); in isOptionalOperatorCallWithName()
80 return callExpr( in isMakeOptionalCall()
147 return callExpr(callee(functionDecl(hasName("std::swap"))), in isStdSwapCall()
190 return callExpr(hasType(qualType(anyOf( in isCallReturningOptional()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp541 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()
548 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp112 return callExpr(forEachArgumentWithParam( in callByRef()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp4068 static StringLiteral *getCFSTR_value(CallExpr *callExpr) { in getCFSTR_value() argument
4069 if (callExpr->getNumArgs() != 1) { in getCFSTR_value()
4074 auto *arg = callExpr->getArg(0); in getCFSTR_value()
4085 S = static_cast<StringLiteral *>(callExpr->getArg(0)); in getCFSTR_value()
4176 CallExpr *callExpr; in evaluateExpr() local
4260 callExpr = static_cast<CallExpr *>(CC->getSubExpr()); in evaluateExpr()
4261 StringLiteral *S = getCFSTR_value(callExpr); in evaluateExpr()
4275 callExpr = static_cast<CallExpr *>(expr); in evaluateExpr()
4276 rettype = callExpr->getCallReturnType(ctx); in evaluateExpr()
4278 if (rettype->isVectorType() || callExpr->getNumArgs() > 1) in evaluateExpr()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1465 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr;
3867 return callExpr(hasDeclaration(InnerMatcher))
4840 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
4940 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp158 REGISTER_MATCHER(callExpr); in RegistryMaps()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp1540 Expr *callExpr = Res.getAs<Expr>(); in ActOnPropertyImplDecl() local
1542 dyn_cast_or_null<CXXOperatorCallExpr>(callExpr)) in ActOnPropertyImplDecl()
/openbsd-src/gnu/llvm/clang/docs/
H A DClangTransformerTutorial.rst302 makeRule(callExpr(...),