Searched refs:binaryOperator (Results 1 – 4 of 4) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 490 StatementMatcher MixedTypes = stmt(anyOf(ifStmt(), binaryOperator())); in TEST() 1001 binaryOperator(hasOperatorName("+"), in TEST() 1004 binaryOperator(hasOperatorName("+"), in TEST() 2401 StatementMatcher OperatorOr = binaryOperator(hasOperatorName("||")); in TEST() 2409 binaryOperator(hasLHS(cxxBoolLiteral(equals(true))), in TEST() 2424 binaryOperator(hasEitherOperand(cxxBoolLiteral(equals(false)))); 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() [all …]
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 191 is a matcher to do exactly that, conveniently named ``binaryOperator``. 196 binaryOperator(hasOperatorName("+"), hasLHS(integerLiteral(equals(0)))) 395 hasCondition(binaryOperator(hasOperatorName("<")) 402 hasCondition(binaryOperator( 439 hasCondition(binaryOperator( 487 hasCondition(binaryOperator(
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 109 REGISTER_MATCHER(binaryOperator); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1541 BinaryOperator> binaryOperator; variable
|