Lines Matching refs:CtorDecl
555 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in PerformEmptyInit() local
556 CXXRecordDecl *R = CtorDecl->getParent(); in PerformEmptyInit()
558 if (CtorDecl->getMinRequiredArguments() == 0 && in PerformEmptyInit()
559 CtorDecl->isExplicit() && R->getDeclName() && in PerformEmptyInit()
560 SemaRef.SourceMgr.isInSystemHeader(CtorDecl->getLocation())) { in PerformEmptyInit()
582 SemaRef.Diag(CtorDecl->getLocation(), in PerformEmptyInit()
4336 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in TryConstructorInitialization() local
4349 if (!CtorDecl->getParent()->allowConstDefaultInit()) { in TryConstructorInitialization()
4359 if (IsListInit && !Kind.AllowExplicit() && CtorDecl->isExplicit()) { in TryConstructorInitialization()
4379 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates, in TryConstructorInitialization()
10017 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in Diagnose() local
10018 S.Diag(CtorDecl->getLocation(), in Diagnose()