Home
last modified time | relevance | path

Searched refs:isCopyConstructor (Results 1 – 25 of 60) sorted by relevance

123

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DCopyConstructorInitCheck.cpp24 isCopyConstructor(), in registerMatchers()
65 if (Ctor->isCopyConstructor() && in check()
DForwardingReferenceOverloadCheck.cpp118 (OtherCtor->isCopyConstructor() ? DisabledCopy : DisabledMove) = true; in check()
120 (OtherCtor->isCopyConstructor() ? EnabledCopy : EnabledMove) = true; in check()
DUnhandledSelfAssignmentCheck.cpp57 isCopyConstructor(), ofClass(equalsBoundNode("class")))))))); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseEqualsDefaultCheck.cpp85 cxxConstructorDecl(isCopyConstructor())), in isCopyConstructorAndCanBeDefaulted()
108 cxxConstructorDecl(isCopyConstructor())), in isCopyConstructorAndCanBeDefaulted()
234 allOf(isCopyConstructor(), in registerMatchers()
DUseEqualsDeleteCheck.cpp31 isCopyConstructor(), isMoveConstructor())), in registerMatchers()
DPassByValueCheck.cpp159 isCopyConstructor(), unless(isDeleted()), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DThrownExceptionTypeCheck.cpp26 isCopyConstructor(), unless(isNoThrow())))) in registerMatchers()
DMutatingCopyCheck.cpp64 Finder->addMatcher(cxxConstructorDecl(isCopyConstructor(), MutatesSource), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DDeletedDefaultCheck.cpp48 } else if (Constructor->isCopyConstructor()) { in check()
DRedundantMemberInitCheck.cpp58 if (IgnoreBaseInCopyConstructors && ConstructorDecl->isCopyConstructor() && in check()
DContainerSizeEmptyCheck.cpp76 hasDeclaration(cxxConstructorDecl(isCopyConstructor())), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DMoveConstructorInitCheck.cpp37 cxxConstructorDecl(isCopyConstructor()) in registerMatchers()
DMoveConstArgCheck.cpp86 if (Ctor->isCopyConstructor() && Ctor->isDeleted()) in check()
DUnnecessaryCopyInitialization.cpp78 isCopyConstructor())), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DSlicingCheck.cpp59 anyOf(isCopyConstructor(), isMoveConstructor()), OfBaseClass)), in registerMatchers()
DSpecialMemberFunctionsCheck.cpp45 has(cxxConstructorDecl(isCopyConstructor(), unless(isImplicit())) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DTypeTraits.cpp33 if (Constructor->isCopyConstructor() && Constructor->isDeleted()) in hasDeletedCopyConstructor()
DDeclRefExprUtils.cpp118 isCopyConstructor()))) in isCopyConstructorArgument()
/external/clang/lib/CodeGen/
DCGCXXABI.cpp49 if (CD->isCopyConstructor() || CD->isMoveConstructor()) { in canCopyArgument()
55 if (CD->isCopyConstructor()) in canCopyArgument()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitConstructorCheck.cpp120 else if (Ctor->isCopyConstructor()) in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DGTestChecker.cpp204 if (CtorDecl->isCopyConstructor() && ParamCount == 1) { in checkPostCall()
DIterator.cpp40 if (Ctor->isCopyConstructor()) { in isIterator()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp1097 cxxConstructorDecl(isCopyConstructor()))); in TEST()
1104 cxxConstructorDecl(isCopyConstructor()))); in TEST()
1111 cxxConstructorDecl(isCopyConstructor()))); in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp293 REGISTER_MATCHER(isCopyConstructor); in RegistryMaps()
/external/clang/include/clang/AST/
DDeclCXX.h2332 bool isCopyConstructor(unsigned &TypeQuals) const;
2337 bool isCopyConstructor() const { in isCopyConstructor() function
2339 return isCopyConstructor(TypeQuals); in isCopyConstructor()

123