Lines Matching defs:Ctor
948 assert(RD->getNumVBases() == 0 && "constexpr ctor with virtual bases");
1995 << /*at end of ctor*/1 << InitExpr->getSourceRange();
2409 << /*at end of ctor*/1 << InitRange;
3010 CXXConstructorDecl *Ctor;
3016 BaseAndFieldInfo(Sema &S, CXXConstructorDecl *Ctor, bool ErrorsInInits)
3017 : S(S), Ctor(Ctor), AnyErrorsInInits(ErrorsInInits) {
3018 bool Generated = Ctor->isImplicit() || Ctor->isDefaulted();
3019 if (Generated && Ctor->isCopyConstructor())
3021 else if (Generated && Ctor->isMoveConstructor())
3023 else if (Ctor->getInheritedConstructor())
3127 if (BuildImplicitMemberInitializer(Info.S, Info.Ctor, Info.IIK, Field,
4501 // cv-qualifiers on class members don't affect default ctor / dtor calls.
4605 // C++11 [class.ctor]p5:
4624 // C++11 [class.ctor]p5, C++11 [class.copy]p11:
4660 // C++11 [class.ctor]p5: any non-variant non-static data member of
4747 /// C++11 [class.ctor] p5:
4765 /// deleted, as specified in C++11 [class.ctor]p5, C++11 [class.copy]p11,
4903 // C++11 [class.ctor]p5:
5108 // C++11 [class.ctor]p5:
5152 /// as specified in C++11 [class.ctor]p5, C++11 [class.copy]p12,
5226 // C++11 [class.ctor]p5, C++11 [class.dtor]p5:
5243 // C++11 [class.ctor]p5, C++11 [class.dtor]p5:
5267 // C++11 [class.ctor]p5, C++11 [class.copy]p12, C++11 [class.copy]p25:
5626 // C++ [class.ctor]p3:
5661 // C++0x [class.ctor]p4:
6358 bool Sema::isInitListConstructor(const CXXConstructorDecl* Ctor) {
6364 if (Ctor->getNumParams() < 1 ||
6365 (Ctor->getNumParams() > 1 && !Ctor->getParamDecl(1)->hasDefaultArg()))
6368 QualType ArgType = Ctor->getParamDecl(0)->getType();
7542 // C++ [class.ctor]p5:
7604 "DefineImplicitDefaultConstructor - call it for implicit default ctor");
9168 assert(T->getNumArgs() >= 1 && "not a copy ctor");
9296 "DefineImplicitCopyConstructor - call it for implicit copy ctor");
9487 "DefineImplicitMoveConstructor - call it for implicit move ctor");
11585 void DelegatingCycleHelper(CXXConstructorDecl* Ctor,
11592 if (Ctor->isInvalidDecl())
11595 CXXConstructorDecl *Target = Ctor->getTargetConstructor();
11606 CXXConstructorDecl *Canonical = Ctor->getCanonicalDecl(),
11624 S.Diag((*Ctor->init_begin())->getSourceLocation(),
11626 << Ctor;
11636 assert(FNTarget && "Ctor cycle through bodiless function");