Home
last modified time | relevance | path

Searched refs:OtherCtor (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardingReferenceOverloadCheck.cpp115 for (const auto *OtherCtor : Ctor->getParent()->ctors()) { in check() local
116 if (OtherCtor->isCopyOrMoveConstructor()) { in check()
117 if (OtherCtor->isDeleted() || OtherCtor->getAccess() == AS_private) in check()
118 (OtherCtor->isCopyConstructor() ? DisabledCopy : DisabledMove) = true; in check()
120 (OtherCtor->isCopyConstructor() ? EnabledCopy : EnabledMove) = true; in check()
131 for (const auto *OtherCtor : Ctor->getParent()->ctors()) { in check() local
132 if (OtherCtor->isCopyOrMoveConstructor() && !OtherCtor->isDeleted() && in check()
133 OtherCtor->getAccess() != AS_private) { in check()
134 diag(OtherCtor->getLocation(), in check()
136 << OtherCtor->isMoveConstructor(); in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
DUninitializedObjectChecker.cpp484 const auto *OtherCtor = dyn_cast<CXXConstructorDecl>(LC->getDecl()); in willObjectBeAnalyzedLater() local
485 if (!OtherCtor) in willObjectBeAnalyzedLater()
489 getConstructedRegion(OtherCtor, Context); in willObjectBeAnalyzedLater()