Home
last modified time | relevance | path

Searched refs:cxxConstructorDecl (Results 1 – 25 of 59) sorted by relevance

123

/llvm-project-15.0.7/clang/unittests/AST/
H A DDeclPrinterTest.cpp513 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 DStructuralEquivalenceTest.cpp319 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 DUseEqualsDefaultCheck.cpp79 cxxConstructorDecl( in isCopyConstructorAndCanBeDefaulted()
85 cxxConstructorDecl(isCopyConstructor())), in isCopyConstructorAndCanBeDefaulted()
100 cxxConstructorDecl( in isCopyConstructorAndCanBeDefaulted()
108 cxxConstructorDecl(isCopyConstructor())), in isCopyConstructorAndCanBeDefaulted()
222 cxxConstructorDecl( in registerMatchers()
H A DUseEmplaceCheck.cpp146 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 DPassByValueCheck.cpp206 cxxConstructorDecl( in registerMatchers()
228 hasDeclaration(cxxConstructorDecl( in registerMatchers()
H A DUseEqualsDeleteCheck.cpp30 anyOf(cxxConstructorDecl(anyOf(isDefaultConstructor(), in registerMatchers()
H A DReturnBracedInitListCheck.cpp25 unless(anyOf(hasDeclaration(cxxConstructorDecl(isExplicit())), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/zircon/
H A DTemporaryObjectsCheck.cpp32 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 DUndelegatedConstructorCheck.cpp60 compoundStmt(hasParent(cxxConstructorDecl( in registerMatchers()
64 hasDeclaration(cxxConstructorDecl(ofClass( in registerMatchers()
H A DCopyConstructorInitCheck.cpp23 cxxConstructorDecl( in registerMatchers()
28 cxxConstructorDecl(isDefaultConstructor())))))), in registerMatchers()
H A DStringConstructorCheck.cpp105 hasDeclaration(cxxConstructorDecl(ofClass( in registerMatchers()
129 hasDeclaration(cxxConstructorDecl(ofClass(anyOf( in registerMatchers()
H A DThrowKeywordMissingCheck.cpp21 cxxConstructorDecl(hasAnyConstructorInitializer(anything())); in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantMemberInitCheck.cpp30 cxxConstructorDecl( in registerMatchers()
37 cxxConstructorDecl(ofClass(cxxRecordDecl( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DMoveConstructorInitCheck.cpp27 cxxConstructorDecl( in registerMatchers()
32 cxxConstructorDecl(isCopyConstructor()) in registerMatchers()
H A DNoAutomaticMoveCheck.cpp39 const auto LValueRefCtor = cxxConstructorDecl( in registerMatchers()
42 ofClass(cxxRecordDecl(hasMethod(cxxConstructorDecl( in registerMatchers()
H A DNoexceptMoveConstructorCheck.cpp23 cxxMethodDecl(anyOf(cxxConstructorDecl(), hasOverloadedOperatorName("=")), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DSlicingCheck.cpp46 hasParent(cxxConstructorDecl(ofClass(equalsBoundNode("DerivedDecl")))); in registerMatchers()
58 hasDeclaration(cxxConstructorDecl( in registerMatchers()
H A DProTypeMemberInitCheck.cpp281 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 DSpecialMemberFunctionsCheck.cpp44 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 DASTMatchersTraversalTest.cpp582 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 DASTMatchersNarrowingTest.cpp2268 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 DThrownExceptionTypeCheck.cpp25 cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in registerMatchers()
H A DStaticObjectExceptionCheck.cpp31 cxxConstructorDecl(unless(isNoThrow())).bind("func")))), in registerMatchers()
H A DMutatingCopyCheck.cpp58 Finder->addMatcher(cxxConstructorDecl(isCopyConstructor(), MutatesSource), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/
H A DStaticallyConstructedObjectsCheck.cpp39 hasDeclaration(cxxConstructorDecl(isConstexpr())), in registerMatchers()

123