| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | DeclPrinterTest.cpp | 513 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 522 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 531 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 540 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 550 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 560 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 570 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 579 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 588 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() 597 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST() [all …]
|
| H A D | StructuralEquivalenceTest.cpp | 319 Lang_CXX03, cxxConstructorDecl(), in TEST_F() 543 cxxConstructorDecl(hasName("foo"))); in TEST_F() 550 cxxConstructorDecl(hasName("X"))); in TEST_F() 916 get<0>(Decls), cxxConstructorDecl(hasName("foo"))); in TEST_F() 918 get<1>(Decls), cxxConstructorDecl(hasName("foo"))); in TEST_F() 926 get<0>(Decls), cxxConstructorDecl(hasName("foo"))); in TEST_F() 928 get<1>(Decls), cxxConstructorDecl(hasName("foo"))); in TEST_F() 1362 get<0>(Decls), cxxConstructorDecl(hasName("foo<b>"))); in TEST_F() 1364 get<1>(Decls), cxxConstructorDecl(hasName("foo<b>"))); in TEST_F() 1373 get<0>(Decls), cxxConstructorDecl(hasName("foo<b>"))); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseEqualsDefaultCheck.cpp | 79 cxxConstructorDecl( in isCopyConstructorAndCanBeDefaulted() 85 cxxConstructorDecl(isCopyConstructor())), in isCopyConstructorAndCanBeDefaulted() 100 cxxConstructorDecl( in isCopyConstructorAndCanBeDefaulted() 108 cxxConstructorDecl(isCopyConstructor())), in isCopyConstructorAndCanBeDefaulted() 222 cxxConstructorDecl( in registerMatchers()
|
| H A D | UseEmplaceCheck.cpp | 146 hasDeclaration(cxxConstructorDecl(ofClass(hasAnyName(SmartPointers)))); in registerMatchers() 164 hasDeclaration(cxxConstructorDecl(anyOf(isPrivate(), isProtected()))); in registerMatchers() 189 hasDeclaration(cxxConstructorDecl(ofClass(hasAnyName(TupleTypes)))))); in registerMatchers()
|
| H A D | PassByValueCheck.cpp | 206 cxxConstructorDecl( in registerMatchers() 228 hasDeclaration(cxxConstructorDecl( in registerMatchers()
|
| H A D | UseEqualsDeleteCheck.cpp | 30 anyOf(cxxConstructorDecl(anyOf(isDefaultConstructor(), in registerMatchers()
|
| H A D | ReturnBracedInitListCheck.cpp | 25 unless(anyOf(hasDeclaration(cxxConstructorDecl(isExplicit())), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/zircon/ |
| H A D | TemporaryObjectsCheck.cpp | 32 cxxTemporaryObjectExpr(hasDeclaration(cxxConstructorDecl(hasParent( in registerMatchers() 41 hasDeclaration(cxxConstructorDecl(hasParent( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UndelegatedConstructorCheck.cpp | 60 compoundStmt(hasParent(cxxConstructorDecl( in registerMatchers() 64 hasDeclaration(cxxConstructorDecl(ofClass( in registerMatchers()
|
| H A D | CopyConstructorInitCheck.cpp | 23 cxxConstructorDecl( in registerMatchers() 28 cxxConstructorDecl(isDefaultConstructor())))))), in registerMatchers()
|
| H A D | StringConstructorCheck.cpp | 105 hasDeclaration(cxxConstructorDecl(ofClass( in registerMatchers() 129 hasDeclaration(cxxConstructorDecl(ofClass(anyOf( in registerMatchers()
|
| H A D | ThrowKeywordMissingCheck.cpp | 21 cxxConstructorDecl(hasAnyConstructorInitializer(anything())); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantMemberInitCheck.cpp | 30 cxxConstructorDecl( in registerMatchers() 37 cxxConstructorDecl(ofClass(cxxRecordDecl( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | MoveConstructorInitCheck.cpp | 27 cxxConstructorDecl( in registerMatchers() 32 cxxConstructorDecl(isCopyConstructor()) in registerMatchers()
|
| H A D | NoAutomaticMoveCheck.cpp | 39 const auto LValueRefCtor = cxxConstructorDecl( in registerMatchers() 42 ofClass(cxxRecordDecl(hasMethod(cxxConstructorDecl( in registerMatchers()
|
| H A D | NoexceptMoveConstructorCheck.cpp | 23 cxxMethodDecl(anyOf(cxxConstructorDecl(), hasOverloadedOperatorName("=")), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | SlicingCheck.cpp | 46 hasParent(cxxConstructorDecl(ofClass(equalsBoundNode("DerivedDecl")))); in registerMatchers() 58 hasDeclaration(cxxConstructorDecl( in registerMatchers()
|
| H A D | ProTypeMemberInitCheck.cpp | 281 cxxConstructorDecl(isDefinition(), in registerMatchers() 292 anyOf(has(cxxConstructorDecl(isDefaultConstructor(), isDefaulted(), in registerMatchers() 294 unless(has(cxxConstructorDecl()))), in registerMatchers() 301 hasDeclaration(cxxConstructorDecl( in registerMatchers()
|
| H A D | SpecialMemberFunctionsCheck.cpp | 44 has(cxxConstructorDecl(isCopyConstructor()).bind("copy-ctor")), in registerMatchers() 47 has(cxxConstructorDecl(isMoveConstructor()).bind("move-ctor")), in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTraversalTest.cpp | 582 Code, cxxConstructorDecl( in TEST() 587 Code, cxxConstructorDecl( in TEST() 3068 cxxConstructorDecl(hasName("HasCtorInits"), in TEST() 3075 cxxConstructorDecl(hasName("HasCtorInits"), in TEST() 3089 cxxConstructorDecl(hasName("HasCtorInits"), in TEST() 3096 auto M = cxxConstructorDecl( in TEST() 3104 auto M = cxxConstructorDecl( in TEST() 3472 cxxConstructorDecl( in TEST() 3480 cxxConstructorDecl( in TEST() 5092 has(cxxConstructorDecl( in TEST() [all …]
|
| H A D | ASTMatchersNarrowingTest.cpp | 2268 cxxConstructorDecl(isImplicit()))); in TEST_P() 2270 cxxConstructorDecl(unless(isImplicit())))); in TEST_P() 2282 cxxConstructorDecl(isExplicit()))); in TEST_P() 2293 cxxConstructorDecl(isExplicit()))); in TEST_P() 2295 cxxConstructorDecl(isExplicit()))); in TEST_P() 2297 cxxConstructorDecl(isExplicit()))); in TEST_P() 2340 cxxConstructorDecl(isCopyConstructor(), unless(isImplicit())))); in TEST_P() 2372 cxxConstructorDecl(isUserProvided()))); in TEST_P() 2374 cxxConstructorDecl(isUserProvided()))); in TEST_P() 2376 cxxConstructorDecl(isUserProvided()))); in TEST_P() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | ThrownExceptionTypeCheck.cpp | 25 cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in registerMatchers()
|
| H A D | StaticObjectExceptionCheck.cpp | 31 cxxConstructorDecl(unless(isNoThrow())).bind("func")))), in registerMatchers()
|
| H A D | MutatingCopyCheck.cpp | 58 Finder->addMatcher(cxxConstructorDecl(isCopyConstructor(), MutatesSource), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/ |
| H A D | StaticallyConstructedObjectsCheck.cpp | 39 hasDeclaration(cxxConstructorDecl(isConstexpr())), in registerMatchers()
|