/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ShrinkToFitCheck.cpp | 25 memberExpr(member(valueDecl().bind("ContainerDecl"))); in registerMatchers() 33 expr(anyOf(memberExpr(member(equalsBoundNode("ContainerDecl"))), in registerMatchers() 36 memberExpr(member(equalsBoundNode("ContainerDecl")))))), in registerMatchers() 45 has(ignoringParenImpCasts(memberExpr(traverse( in registerMatchers()
|
D | UseEqualsDefaultCheck.cpp | 54 memberExpr(hasObjectExpression(declRefExpr(to(varDecl(equalsNode(Var))))), in accessToFieldInVar() 183 auto LHS = memberExpr(hasObjectExpression(cxxThisExpr()), in isCopyAssignmentAndCanBeDefaulted()
|
/external/llvm-project/clang/unittests/AST/ |
D | DataCollectionTest.cpp | 116 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST() 119 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST() 122 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST() 125 ASSERT_FALSE(isStmtHashEqual(memberExpr().bind("id"), in TEST()
|
D | StmtPrinterTest.cpp | 208 CPPSource, memberExpr(anything()).bind("id"), "field", in TEST() 213 CPPSource, memberExpr(anything()).bind("id"), "this->field")); in TEST()
|
D | SourceLocationTest.cpp | 164 memberExpr())); in TEST() 179 memberExpr())); in TEST() 188 memberExpr())); in TEST() 196 memberExpr())); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SpuriouslyWakeUpFunctionsCheck.cpp | 31 allOf(hasDescendant(memberExpr(hasDeclaration(functionDecl( in registerMatchers() 38 allOf(hasDescendant(memberExpr(hasDeclaration(functionDecl( in registerMatchers() 45 allOf(hasDescendant(memberExpr(hasDeclaration(functionDecl( in registerMatchers()
|
D | BoolPointerImplicitConversionCheck.cpp | 29 memberExpr().bind("expr"))))), in registerMatchers() 82 memberExpr(hasDeclaration(equalsNode(D))))); in check()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 761 memberExpr(isArrow()))); in TEST() 763 memberExpr(isArrow()))); in TEST() 765 memberExpr(isArrow()))); in TEST() 770 memberExpr(isArrow()))); in TEST() 772 memberExpr(isArrow()))); in TEST() 774 memberExpr(isArrow()))); in TEST() 779 memberExpr(isArrow()))); in TEST() 781 memberExpr(isArrow()))); in TEST() 783 memberExpr(isArrow()))); in TEST() 1354 memberExpr(member(hasName("first"))))); in TEST() [all …]
|
D | ASTMatchersNodeTest.cpp | 414 EXPECT_TRUE(notMatches("class Y { void x() {} };", memberExpr())); in TEST() 418 EXPECT_TRUE(matches("class Y { void x() { x(); } };", memberExpr())); in TEST() 423 matches("class Y { void x() { this->y; } int y; };", memberExpr())); in TEST() 425 matches("class Y { void x() { y; } int y; };", memberExpr())); in TEST() 427 matches("class Y { void x() { Y y; y.y; } int y; };", memberExpr())); in TEST() 432 memberExpr())); in TEST() 434 memberExpr())); in TEST() 436 memberExpr())); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | DeleteNullPointerCheck.cpp | 28 cxxDeleteExpr(has(castExpr(has(memberExpr(hasDeclaration( in registerMatchers() 34 memberExpr(hasDeclaration(fieldDecl().bind("deletedMemberPointer"))))); in registerMatchers()
|
D | RedundantSmartptrGetCheck.cpp | 26 unless(callee(memberExpr(hasObjectExpression(cxxThisExpr())))), in callToGet() 51 memberExpr(expr().bind("memberExpr"), isArrow(), in registerMatchersForGetArrowStart()
|
D | StringCompareCheck.cpp | 31 callee(memberExpr().bind("str1"))); in registerMatchers()
|
D | StaticAccessedThroughInstanceCheck.cpp | 41 memberExpr(hasDeclaration(anyOf(cxxMethodDecl(isStaticStorageClass()), in registerMatchers()
|
D | SimplifySubscriptExprCheck.cpp | 37 has(memberExpr().bind("member")), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | MutatingCopyCheck.cpp | 25 memberExpr(), in registerMatchers() 40 const auto MemberExprOrSelf = anyOf(memberExpr(), cxxThisExpr()); in registerMatchers()
|
D | ProperlySeededRandomGeneratorCheck.cpp | 51 has(memberExpr(has(declRefExpr(RandomGeneratorEngineTypeMatcher)), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | UniqueptrResetReleaseCheck.cpp | 22 on(expr().bind("left")), callee(memberExpr().bind("reset_member")), in registerMatchers() 29 callee(memberExpr().bind("release_member")), in registerMatchers()
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 109 memberExpr())); in TEST() 124 memberExpr())); in TEST() 133 memberExpr())); in TEST() 141 memberExpr())); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeUnionAccessCheck.cpp | 21 memberExpr(hasObjectExpression(hasType(recordDecl(isUnion())))) in registerMatchers()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 1112 memberExpr(isArrow()))); in TEST_P() 1114 matches("class Y { void x() { y; } int y; };", memberExpr(isArrow()))); in TEST_P() 1116 memberExpr(isArrow()))); in TEST_P() 1131 memberExpr(isArrow()))); in TEST_P() 1133 memberExpr(isArrow()))); in TEST_P() 1135 memberExpr(isArrow()))); in TEST_P() 1149 matches("class Y { void x() { this->x(); } };", memberExpr(isArrow()))); in TEST_P() 1150 EXPECT_TRUE(matches("class Y { void x() { x(); } };", memberExpr(isArrow()))); in TEST_P() 1152 memberExpr(isArrow()))); in TEST_P() 2187 memberExpr(member(hasName("first"))))); in TEST_P() [all …]
|
/external/llvm-project/clang/unittests/Tooling/ |
D | StencilTest.cpp | 330 using clang::ast_matchers::memberExpr; in TEST_F() 342 returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F() 352 using clang::ast_matchers::memberExpr; in TEST_F() 363 matchStmt(Snippet, returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F()
|
D | RangeSelectorTest.cpp | 369 TestMatch Match = matchCode(Code, memberExpr().bind(ID)); in TEST() 388 TestMatch Match = matchCode(Code, memberExpr().bind(ID)); in TEST() 404 TestMatch Match = matchCode(Code, memberExpr().bind(ID)); in TEST() 420 TestMatch Match = matchCode(Code, memberExpr().bind(ID)); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | PreferRegisterOverUnsignedCheck.cpp | 30 has(memberExpr(hasDeclaration( in registerMatchers()
|
/external/llvm-project/clang/lib/Analysis/ |
D | ExprMutationAnalyzer.cpp | 291 callee(memberExpr(hasDeclaration(NonConstMethod), in findDirectMutation() 324 memberExpr(hasObjectExpression(canResolveToExpr(equalsNode(Exp))))), in findDirectMutation() 383 match(findAll(expr(anyOf(memberExpr(hasObjectExpression( in findMemberMutation() 526 memberExpr(hasObjectExpression( in findReferenceMutation()
|
/external/llvm-project/clang-tools-extra/clang-tidy/objc/ |
D | NSInvocationArgumentLifetimeCheck.cpp | 111 anyOf(hasDescendant(memberExpr(isObjCManagedLifetime())), in registerMatchers()
|