Searched refs:hasOperatorName (Results 1 – 4 of 4) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 1001 binaryOperator(hasOperatorName("+"), in TEST() 1004 binaryOperator(hasOperatorName("+"), in TEST() 2401 StatementMatcher OperatorOr = binaryOperator(hasOperatorName("||")); in TEST() 2436 matches("void x() { 3, 4; }", binaryOperator(hasOperatorName(",")))); in TEST() 2439 binaryOperator(hasOperatorName("=")))); in TEST() 2441 matches("bool b = 1 != 2;", binaryOperator(hasOperatorName("!=")))); in TEST() 2443 matches("bool b = 1 == 2;", binaryOperator(hasOperatorName("==")))); in TEST() 2444 EXPECT_TRUE(matches("bool b = 1 < 2;", binaryOperator(hasOperatorName("<")))); in TEST() 2446 matches("bool b = 1 <= 2;", binaryOperator(hasOperatorName("<=")))); in TEST() 2448 matches("int i = 1 << 2;", binaryOperator(hasOperatorName("<<")))); in TEST() [all …]
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 196 binaryOperator(hasOperatorName("+"), hasLHS(integerLiteral(equals(0)))) 348 hasIncrement(unaryOperator(hasOperatorName("++"))) 359 hasOperatorName("++"), 368 hasOperatorName("++"), 377 hasOperatorName("++"), 395 hasCondition(binaryOperator(hasOperatorName("<")) 403 hasOperatorName("<"), 440 hasOperatorName("<"), 484 hasOperatorName("++"), 488 hasOperatorName("<"),
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 229 REGISTER_MATCHER(hasOperatorName); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3193 AST_POLYMORPHIC_MATCHER_P(hasOperatorName, in AST_POLYMORPHIC_MATCHER_P() argument
|