Searched refs:BinAsgmtOperator (Results 1 – 1 of 1) sorted by relevance
3948 StatementMatcher BinAsgmtOperator = binaryOperator(isAssignmentOperator()); in TEST_P() local3952 EXPECT_TRUE(matches("void x() { int a; a += 1; }", BinAsgmtOperator)); in TEST_P()3953 EXPECT_TRUE(matches("void x() { int a; a = 2; }", BinAsgmtOperator)); in TEST_P()3954 EXPECT_TRUE(matches("void x() { int a; a &= 3; }", BinAsgmtOperator)); in TEST_P()3959 notMatches("void x() { int a; if(a == 0) return; }", BinAsgmtOperator)); in TEST_P()