Lines Matching defs:Ctor
3038 // C++ [over.match.ctor]p1:
7977 if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(Fn)) {
7978 if (!Ctor->isImplicit())
7981 if (Ctor->getInheritedConstructor())
7984 if (Ctor->isDefaultConstructor())
7987 if (Ctor->isMoveConstructor())
7990 assert(Ctor->isCopyConstructor() &&
8015 const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(Fn);
8016 if (!Ctor) return;
8018 Ctor = Ctor->getInheritedConstructor();
8019 if (!Ctor) return;
8021 S.Diag(Ctor->getLocation(), diag::note_ovl_candidate_inherited_constructor);