Searched refs:binaryOperator (Results 1 - 3 of 3) sorted by relevance

/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp858 binaryOperator(hasOperatorName("+"),
861 binaryOperator(hasOperatorName("+"),
2006 StatementMatcher OperatorOr = binaryOperator(hasOperatorName("||"));
2014 binaryOperator(hasLHS(boolLiteral(equals(true))),
2024 binaryOperator(hasEitherOperand(boolLiteral(equals(false))));
2036 matches("void x() { 3, 4; }", binaryOperator(hasOperatorName(","))));
2039 binaryOperator(hasOperatorName("="))));
2041 matches("bool b = 1 != 2;", binaryOperator(hasOperatorName("!="))));
2043 matches("bool b = 1 == 2;", binaryOperator(hasOperatorName("=="))));
2044 EXPECT_TRUE(matches("bool b = 1 < 2;", binaryOperator(hasOperatorNam
[all...]
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp108 REGISTER_MATCHER(binaryOperator);
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h852 /// binaryOperator matcher.
1215 BinaryOperator> binaryOperator; member in namespace:clang::ast_matchers
2560 /// Example matches a || b (matcher = binaryOperator(hasOperatorName("||")))
2572 /// Example matches a (matcher = binaryOperator(hasLHS()))
2585 /// Example matches b (matcher = binaryOperator(hasRHS()))

Completed in 115 milliseconds