Lines Matching refs:CtorDecl
552 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in PerformEmptyInit() local
553 CXXRecordDecl *R = CtorDecl->getParent(); in PerformEmptyInit()
555 if (CtorDecl->getMinRequiredArguments() == 0 && in PerformEmptyInit()
556 CtorDecl->isExplicit() && R->getDeclName() && in PerformEmptyInit()
557 SemaRef.SourceMgr.isInSystemHeader(CtorDecl->getLocation())) { in PerformEmptyInit()
579 SemaRef.Diag(CtorDecl->getLocation(), in PerformEmptyInit()
4228 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in TryConstructorInitialization() local
4241 if (!CtorDecl->getParent()->allowConstDefaultInit()) { in TryConstructorInitialization()
4251 if (IsListInit && !Kind.AllowExplicit() && CtorDecl->isExplicit()) { in TryConstructorInitialization()
4271 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates, in TryConstructorInitialization()
9853 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in Diagnose() local
9854 S.Diag(CtorDecl->getLocation(), in Diagnose()