Searched refs:callExpr (Results 1 – 20 of 20) sorted by relevance
21 auto* callExpr = result.Nodes.getNodeAs<clang::CXXMemberCallExpr>(method()); in run() local24 clang::CharSourceRange::getTokenRange(callExpr->getExprLoc()); in run()48 callExpr(callee(functionDecl(hasName(callback.method())))) in RegisterMatchers()
64 MethodCallExpr callExpr = Navigator.findMethodCall(method, "variadicMethod").get(); in methodCallWithReferenceTypeAsVaridicArgumentIsSolved() local68 MethodUsage callee = javaParserFacade.solveMethodAsUsage(callExpr); in methodCallWithReferenceTypeAsVaridicArgumentIsSolved()78 MethodCallExpr callExpr = Navigator.findMethodCall(method, "variadicWithGenericArg").get(); in resolveVariadicMethodWithGenericArgument() local82 MethodUsage callee = javaParserFacade.solveMethodAsUsage(callExpr); in resolveVariadicMethodWithGenericArgument()
363 MethodCallExpr callExpr = (MethodCallExpr) requireParentNode(node); in visit() local365 SymbolReference<ResolvedMethodDeclaration> refMethod = facade.solve(callExpr); in visit()367 ….resolution.UnsolvedSymbolException(requireParentNode(node).toString(), callExpr.getName().getId()… in visit()375 if (callExpr.getScope().isPresent()) { in visit()376 Expression scope = callExpr.getScope().get(); in visit()474 MethodCallExpr callExpr = (MethodCallExpr) requireParentNode(node); in visit() local476 SymbolReference<ResolvedMethodDeclaration> refMethod = facade.solve(callExpr, false); in visit()478 ….resolution.UnsolvedSymbolException(requireParentNode(node).toString(), callExpr.getName().getId()… in visit()483 MethodUsage usage = facade.solveMethodAsUsage(callExpr); in visit()
306 callExpr(hasDeclaration(functionDecl( in RunMatchers()315 callExpr(hasDeclaration(functionDecl(anyOf( in RunMatchers()325 callExpr(hasDeclaration(functionDecl( in RunMatchers()334 callExpr(hasDeclaration(functionDecl(anyOf( in RunMatchers()346 callExpr(hasDeclaration(functionDecl( in RunMatchers()
315 StatementMatcher CallMethodX = callExpr(callee(cxxMethodDecl(hasName("x")))); in TEST()320 CallMethodX = callExpr(callee(cxxConversionDecl())); in TEST()329 callExpr(callee(memberExpr())))); in TEST()331 notMatches("class Y { void x() { this->x(); } };", callExpr(callee(callExpr())))); in TEST()335 StatementMatcher CallArgumentY = callExpr( in TEST()343 StatementMatcher WrongIndex = callExpr( in TEST()349 StatementMatcher CallArgumentY = callExpr( in TEST()356 StatementMatcher ImplicitCastedArgument = callExpr( in TEST()366 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST()379 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST()[all …]
29 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()32 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()37 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()43 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()563 callExpr(callee(cxxMethodDecl(hasName("x")))).bind("x"); in TEST()715 callExpr(hasArgument(0, declRefExpr( in TEST()722 callExpr(hasArgument(0, declRefExpr( in TEST()794 StatementMatcher Call1Arg = callExpr(argumentCountIs(1)); in TEST()
25 EXPECT_TRUE(Finder.addDynamicMatcher(callExpr(), nullptr)); in TEST()196 callExpr(hasDeclaration(cxxMethodDecl(hasName("x")))); in TEST()440 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f")))); in TEST()
159 …Line 363) facade.solve(callExpr) ==> com.github.javaparser.symbolsolver.javaparsermodel.JavaParser…163 …Line 365) callExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge…164 Line 365) callExpr.getName() ==> com.github.javaparser.ast.expr.MethodCallExpr.getName()171 Line 373) callExpr.getScope().isPresent() ==> java.util.Optional.isPresent()172 Line 373) callExpr.getScope() ==> com.github.javaparser.ast.expr.MethodCallExpr.getScope()173 Line 374) callExpr.getScope().get() ==> java.util.Optional.get()174 Line 374) callExpr.getScope() ==> com.github.javaparser.ast.expr.MethodCallExpr.getScope()255 …Line 483) facade.solve(callExpr, false) ==> com.github.javaparser.symbolsolver.javaparsermodel.Jav…259 …Line 485) callExpr.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifier.ge…260 Line 485) callExpr.getName() ==> com.github.javaparser.ast.expr.MethodCallExpr.getName()[all …]
78 Line 186) callExpr.getArguments() ==> com.github.javaparser.ast.expr.MethodCallExpr.getArguments()
72 return callExpr(is_bind_once_call, in GetMatcher()74 callExpr(callee(is_passed)).bind("target")))); in GetMatcher()157 callExpr(callee(namedDecl(hasName("::base::Bind")))).bind("target"); in GetMatcher()606 callExpr( in GetMatcher()
183 private int pos(MethodCallExpr callExpr, Expression param) { in pos() argument185 for (Expression p : callExpr.getArguments()) { in pos()
34 callExpr( in Register()
389 callExpr(callee(is_logging_helper), argumentCountIs(3), in main()400 callExpr(callee(is_gtest_helper), in main()
3444 static StringLiteral* getCFSTR_value(CallExpr *callExpr) { in getCFSTR_value() argument3445 if (callExpr->getNumArgs() != 1) { in getCFSTR_value()3450 auto *arg = callExpr->getArg(0); in getCFSTR_value()3461 S = static_cast<StringLiteral *>(callExpr->getArg(0)); in getCFSTR_value()3526 CallExpr *callExpr; in evaluateExpr() local3601 callExpr = static_cast<CallExpr *>(CC->getSubExpr()); in evaluateExpr()3602 StringLiteral *S = getCFSTR_value(callExpr); in evaluateExpr()3616 callExpr = static_cast<CallExpr *>(expr); in evaluateExpr()3617 rettype = callExpr->getCallReturnType(ctx); in evaluateExpr()3619 if (rettype->isVectorType() || callExpr->getNumArgs() > 1) in evaluateExpr()[all …]
1020 const internal::VariadicDynCastAllOfMatcher<Stmt, CallExpr> callExpr; variable2575 return callExpr(hasDeclaration(InnerMatcher)).matches(Node, Finder, Builder);3222 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2()
117 REGISTER_MATCHER(callExpr); in RegistryMaps()
1330 Expr *callExpr = Res.getAs<Expr>(); in ActOnPropertyImplDecl() local1332 dyn_cast_or_null<CXXOperatorCallExpr>(callExpr)) in ActOnPropertyImplDecl()
1376 auto matcher = stmt(hasParent(callExpr(callee(equalsNode(&expr))))); in IsCallee()
META-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...