Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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.cpp193 callExpr(ArgumentCaptureM), in checkASTCodeBody()
204 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.cpp279 callExpr(hasAnyArgument(allOf(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp91 return callExpr(callee(getComparisonDecl(Cmp)), in gtestAssert()
98 return callExpr(callee(getComparisonDecl(Cmp)), in gtestExpect()
H A DASTMatchersInternal.cpp803 const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr; variable
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp279 callExpr( in findDirectMutation()
286 callExpr(allOf(isTypeDependent(), in findDirectMutation()
329 callExpr(NonConstRefParam, NotInstantiated), in findDirectMutation()
331 callExpr(TypeDependentCallee, in findDirectMutation()
431 match(findAll(callExpr(callee(namedDecl( in findCastMutation()
544 expr(anyOf(callExpr(NonConstRefParam, IsInstantiated, FuncDecl, in findFunctionArgMutation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp543 auto AssertLikeM = callExpr(callee(functionDecl( in hasUnguardedAccess()
550 auto NoReturnFuncM = callExpr(callee(functionDecl(isNoReturn()))); in hasUnguardedAccess()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp106 return callExpr(forEachArgumentWithParam( in callByRef()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp3842 static StringLiteral *getCFSTR_value(CallExpr *callExpr) { in getCFSTR_value() argument
3843 if (callExpr->getNumArgs() != 1) { in getCFSTR_value()
3848 auto *arg = callExpr->getArg(0); in getCFSTR_value()
3859 S = static_cast<StringLiteral *>(callExpr->getArg(0)); in getCFSTR_value()
3950 CallExpr *callExpr; in evaluateExpr() local
4034 callExpr = static_cast<CallExpr *>(CC->getSubExpr()); in evaluateExpr()
4035 StringLiteral *S = getCFSTR_value(callExpr); in evaluateExpr()
4049 callExpr = static_cast<CallExpr *>(expr); in evaluateExpr()
4050 rettype = callExpr->getCallReturnType(ctx); in evaluateExpr()
4052 if (rettype->isVectorType() || callExpr->getNumArgs() > 1) in evaluateExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1460 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr;
3828 return callExpr(hasDeclaration(InnerMatcher)).matches(Node, Finder, Builder);
4713 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
4813 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp158 REGISTER_MATCHER(callExpr); in RegistryMaps()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp1541 Expr *callExpr = Res.getAs<Expr>(); in ActOnPropertyImplDecl() local
1543 dyn_cast_or_null<CXXOperatorCallExpr>(callExpr)) in ActOnPropertyImplDecl()