Searched refs:hasOperatorName (Results 1 – 7 of 7) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 727 StatementMatcher OperatorOr = binaryOperator(hasOperatorName("||")); in TEST() 762 matches("void x() { 3, 4; }", binaryOperator(hasOperatorName(",")))); in TEST() 765 binaryOperator(hasOperatorName("=")))); in TEST() 767 matches("bool b = 1 != 2;", binaryOperator(hasOperatorName("!=")))); in TEST() 769 matches("bool b = 1 == 2;", binaryOperator(hasOperatorName("==")))); in TEST() 770 EXPECT_TRUE(matches("bool b = 1 < 2;", binaryOperator(hasOperatorName("<")))); in TEST() 772 matches("bool b = 1 <= 2;", binaryOperator(hasOperatorName("<=")))); in TEST() 774 matches("int i = 1 << 2;", binaryOperator(hasOperatorName("<<")))); in TEST() 777 binaryOperator(hasOperatorName("<<=")))); in TEST() 778 EXPECT_TRUE(matches("bool b = 1 > 2;", binaryOperator(hasOperatorName(">")))); in TEST() [all …]
|
D | ASTMatchersNarrowingTest.cpp | 572 binaryOperator(hasOperatorName("+"), in TEST() 575 binaryOperator(hasOperatorName("+"), in TEST()
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 196 binaryOperator(hasOperatorName("+"), hasLHS(integerLiteral(equals(0)))) 348 hasIncrement(unaryOperator(hasOperatorName("++"))) 359 hasOperatorName("++"), 368 hasOperatorName("++"), 377 hasOperatorName("++"), 395 hasCondition(binaryOperator(hasOperatorName("<")) 403 hasOperatorName("<"), 440 hasOperatorName("<"), 484 hasOperatorName("++"), 488 hasOperatorName("<"),
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 282 hasOperatorName("*"), in TEST() 357 unaryOperator(hasOperatorName("-"), in TEST()
|
/external/v8/tools/clang/traffic_annotation_extractor/ |
D | traffic_annotation_extractor.cpp | 380 hasParent(binaryOperator(hasOperatorName("="))), in RunMatchers()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 244 REGISTER_MATCHER(hasOperatorName); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3607 AST_POLYMORPHIC_MATCHER_P(hasOperatorName, in AST_POLYMORPHIC_MATCHER_P() argument
|