Searched refs:binaryOperator (Results 1 – 4 of 4) sorted by relevance
/minix3/external/bsd/llvm/dist/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersTest.cpp | 466 StatementMatcher MixedTypes = stmt(anyOf(ifStmt(), binaryOperator())); in TEST() 921 binaryOperator(hasOperatorName("+"), in TEST() 924 binaryOperator(hasOperatorName("+"), in TEST() 2141 StatementMatcher OperatorOr = binaryOperator(hasOperatorName("||")); in TEST() 2149 binaryOperator(hasLHS(boolLiteral(equals(true))), in TEST() 2159 binaryOperator(hasEitherOperand(boolLiteral(equals(false)))); in TEST() 2171 matches("void x() { 3, 4; }", binaryOperator(hasOperatorName(",")))); in TEST() 2174 binaryOperator(hasOperatorName("=")))); in TEST() 2176 matches("bool b = 1 != 2;", binaryOperator(hasOperatorName("!=")))); in TEST() 2178 matches("bool b = 1 == 2;", binaryOperator(hasOperatorName("==")))); in TEST() [all …]
|
/minix3/external/bsd/llvm/dist/clang/docs/ |
H A D | LibASTMatchersTutorial.rst | 192 is a matcher to do exactly that, conveniently named ``binaryOperator``. 197 binaryOperator(hasOperatorName("+"), hasLHS(integerLiteral(equals(0)))) 396 hasCondition(binaryOperator(hasOperatorName("<")) 403 hasCondition(binaryOperator( 440 hasCondition(binaryOperator( 488 hasCondition(binaryOperator(
|
/minix3/external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 108 REGISTER_MATCHER(binaryOperator); in RegistryMaps()
|
/minix3/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 1417 BinaryOperator> binaryOperator; variable
|