Searched refs:hasOperatorName (Results 1 – 4 of 4) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 936 binaryOperator(hasOperatorName("+"), in TEST() 939 binaryOperator(hasOperatorName("+"), in TEST() 2167 StatementMatcher OperatorOr = binaryOperator(hasOperatorName("||")); in TEST() 2197 matches("void x() { 3, 4; }", binaryOperator(hasOperatorName(",")))); in TEST() 2200 binaryOperator(hasOperatorName("=")))); in TEST() 2202 matches("bool b = 1 != 2;", binaryOperator(hasOperatorName("!=")))); in TEST() 2204 matches("bool b = 1 == 2;", binaryOperator(hasOperatorName("==")))); in TEST() 2205 EXPECT_TRUE(matches("bool b = 1 < 2;", binaryOperator(hasOperatorName("<")))); in TEST() 2207 matches("bool b = 1 <= 2;", binaryOperator(hasOperatorName("<=")))); in TEST() 2209 matches("int i = 1 << 2;", binaryOperator(hasOperatorName("<<")))); in TEST() [all …]
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 197 binaryOperator(hasOperatorName("+"), hasLHS(integerLiteral(equals(0)))) 349 hasIncrement(unaryOperator(hasOperatorName("++"))) 360 hasOperatorName("++"), 369 hasOperatorName("++"), 378 hasOperatorName("++"), 396 hasCondition(binaryOperator(hasOperatorName("<")) 404 hasOperatorName("<"), 441 hasOperatorName("<"), 485 hasOperatorName("++"), 489 hasOperatorName("<"),
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 211 REGISTER_MATCHER(hasOperatorName); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2901 AST_POLYMORPHIC_MATCHER_P(hasOperatorName, in AST_POLYMORPHIC_MATCHER_P() argument
|