Lines Matching refs:CtorDecl
539 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in PerformEmptyInit() local
540 CXXRecordDecl *R = CtorDecl->getParent(); in PerformEmptyInit()
542 if (CtorDecl->getMinRequiredArguments() == 0 && in PerformEmptyInit()
543 CtorDecl->isExplicit() && R->getDeclName() && in PerformEmptyInit()
544 SemaRef.SourceMgr.isInSystemHeader(CtorDecl->getLocation())) { in PerformEmptyInit()
566 SemaRef.Diag(CtorDecl->getLocation(), in PerformEmptyInit()
4171 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in TryConstructorInitialization() local
4184 if (!CtorDecl->getParent()->allowConstDefaultInit()) { in TryConstructorInitialization()
4194 if (IsListInit && !Kind.AllowExplicit() && CtorDecl->isExplicit()) { in TryConstructorInitialization()
4214 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates, in TryConstructorInitialization()
9424 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in Diagnose() local
9425 S.Diag(CtorDecl->getLocation(), in Diagnose()