Searched refs:StatementMatcher (Results 1 – 11 of 11) sorted by relevance
123 TEST(StatementMatcher, Has) { in TEST() argument124 StatementMatcher HasVariableI = in TEST()134 TEST(StatementMatcher, HasDescendant) { in TEST() argument135 StatementMatcher HasDescendantVariableI = in TEST()315 StatementMatcher CallMethodX = callExpr(callee(cxxMethodDecl(hasName("x")))); 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()362 StatementMatcher ArgumentY = in TEST()[all …]
195 StatementMatcher MethodX = in TEST()201 StatementMatcher MethodOnY = in TEST()220 StatementMatcher MethodOnYPointer = in TEST()300 StatementMatcher OpCall = cxxOperatorCallExpr(); in TEST()326 StatementMatcher MethodOnY = in TEST()356 StatementMatcher Reference = in TEST()382 StatementMatcher CallOnVariableY = in TEST()440 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f")))); in TEST()518 StatementMatcher Constructor = cxxConstructExpr(); in TEST()539 StatementMatcher TempExpression = cxxBindTemporaryExpr(); in TEST()[all …]
316 StatementMatcher MixedTypes = stmt(anyOf(ifStmt(), binaryOperator())); in TEST()562 StatementMatcher MethodX = in TEST()571 StatementMatcher matcher = anyOf( in TEST()613 StatementMatcher OpCallAndAnd = in TEST()618 StatementMatcher OpCallLessLess = in TEST()624 StatementMatcher OpStarCall = in TEST()794 StatementMatcher Call1Arg = callExpr(argumentCountIs(1)); in TEST()1019 StatementMatcher Constructor = cxxConstructExpr( in TEST()1035 StatementMatcher WrongIndex = cxxConstructExpr( in TEST()1043 StatementMatcher Constructor1Arg = cxxConstructExpr(argumentCountIs(1)); in TEST()[all …]
97 StatementMatcher StatementHasClassB = in TEST()
101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX98Matches()124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX11Matches()
47 StatementMatcher GetMatcher() { in GetMatcher()
153 void addMatcher(const StatementMatcher &NodeMatch,
124 typedef internal::Matcher<Stmt> StatementMatcher; typedef
83 const clang::ast_matchers::StatementMatcher& constructor_call = id( in SetupMatchers()
257 StatementMatcher LoopMatcher =276 StatementMatcher LoopMatcher =479 StatementMatcher LoopMatcher =
913 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher()