Lines Matching refs:CtorDecl
440 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in PerformEmptyInit() local
441 CXXRecordDecl *R = CtorDecl->getParent(); in PerformEmptyInit()
443 if (CtorDecl->getMinRequiredArguments() == 0 && in PerformEmptyInit()
444 CtorDecl->isExplicit() && R->getDeclName() && in PerformEmptyInit()
445 SemaRef.SourceMgr.isInSystemHeader(CtorDecl->getLocation())) { in PerformEmptyInit()
467 SemaRef.Diag(CtorDecl->getLocation(), in PerformEmptyInit()
3953 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in TryConstructorInitialization() local
3956 if (!CtorDecl->getParent()->allowConstDefaultInit()) { in TryConstructorInitialization()
3966 if (IsListInit && !Kind.AllowExplicit() && CtorDecl->isExplicit()) { in TryConstructorInitialization()
3974 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates, in TryConstructorInitialization()
8666 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in Diagnose() local
8667 S.Diag(CtorDecl->getLocation(), in Diagnose()