Home
last modified time | relevance | path

Searched refs:StatementMatcher (Results 1 – 11 of 11) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp123 TEST(StatementMatcher, Has) { in TEST() argument
124 StatementMatcher HasVariableI = in TEST()
134 TEST(StatementMatcher, HasDescendant) { in TEST() argument
135 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 …]
DASTMatchersNodeTest.cpp195 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 …]
DASTMatchersNarrowingTest.cpp316 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 …]
DASTMatchersInternalTest.cpp97 StatementMatcher StatementHasClassB = in TEST()
/external/clang/unittests/AST/
DStmtPrinterTest.cpp101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX98Matches()
124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX11Matches()
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp47 StatementMatcher GetMatcher() { in GetMatcher()
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h153 void addMatcher(const StatementMatcher &NodeMatch,
DASTMatchers.h124 typedef internal::Matcher<Stmt> StatementMatcher; typedef
/external/v8/tools/clang/empty_string/
DEmptyStringConverter.cpp83 const clang::ast_matchers::StatementMatcher& constructor_call = id( in SetupMatchers()
/external/clang/docs/
DLibASTMatchersTutorial.rst257 StatementMatcher LoopMatcher =
276 StatementMatcher LoopMatcher =
479 StatementMatcher LoopMatcher =
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp913 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher()