Searched refs:binaryOperator (Results 1 – 4 of 4) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 828 binaryOperator(hasOperatorName("+"), in TEST() 831 binaryOperator(hasOperatorName("+"), in TEST() 1892 StatementMatcher OperatorOr = binaryOperator(hasOperatorName("||")); in TEST() 1900 binaryOperator(hasLHS(boolLiteral(equals(true))), in TEST() 1910 binaryOperator(hasEitherOperand(boolLiteral(equals(false)))); in TEST() 1922 matches("void x() { 3, 4; }", binaryOperator(hasOperatorName(",")))); in TEST() 1925 binaryOperator(hasOperatorName("=")))); in TEST() 1927 matches("bool b = 1 != 2;", binaryOperator(hasOperatorName("!=")))); in TEST() 1929 matches("bool b = 1 == 2;", binaryOperator(hasOperatorName("==")))); in TEST() 1930 EXPECT_TRUE(matches("bool b = 1 < 2;", binaryOperator(hasOperatorName("<")))); in TEST() [all …]
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 188 is a matcher to do exactly that, conveniently named ``binaryOperator``. 193 binaryOperator(hasOperatorName("+"), hasLHS(integerLiteral(equals(0)))) 392 hasCondition(binaryOperator(hasOperatorName("<")) 399 hasCondition(binaryOperator( 436 hasCondition(binaryOperator( 484 hasCondition(binaryOperator(
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 216 REGISTER_MATCHER(binaryOperator); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1121 BinaryOperator> binaryOperator; variable
|