Lines Matching defs:OtherCtor
127 for (const auto *OtherCtor : Ctor->getParent()->ctors()) {
128 if (OtherCtor->isCopyOrMoveConstructor()) {
129 if (OtherCtor->isDeleted() || OtherCtor->getAccess() == AS_private)
130 (OtherCtor->isCopyConstructor() ? DisabledCopy : DisabledMove) = true;
132 (OtherCtor->isCopyConstructor() ? EnabledCopy : EnabledMove) = true;
143 for (const auto *OtherCtor : Ctor->getParent()->ctors()) {
144 if (OtherCtor->isCopyOrMoveConstructor() && !OtherCtor->isDeleted() &&
145 OtherCtor->getAccess() != AS_private) {
146 diag(OtherCtor->getLocation(),
148 << OtherCtor->isMoveConstructor();