Home | History | Annotate | Download | only in Sema

Lines Matching defs:Class

209 /// The InitListChecker class contains a set of routines that each
235 class InitListChecker {
1637 class FieldInitializerValidatorCCC : public CorrectionCandidateCallback {
1976 // the rest of this struct/class/union subobject.
1991 // Check the remaining fields within this class/struct/union subobject.
3053 /// class type.
3083 // - Otherwise, if T is a class type, constructors are considered. The
3100 // constructors of the class T and the argument list consists of the
3122 // constructors of the class T and the argument list consists of the
3142 // of a const-qualified type T, T shall be a class type with a
3310 // class type with a default constructor, the object is
3325 // - Otherwise, if T is a class type, constructors are considered.
3386 // The type we're converting to is a class type. Enumerate its constructors
3429 // The type we're converting from is a class type, enumerate its conversion
3683 // - has a class type (i.e., T2 is a class type), where T1 is not
3728 // - is an xvalue, class prvalue, array prvalue, or function lvalue and
3771 // - has a class type (i.e., T2 is a class type), where T1 is not
3773 // xvalue, class prvalue, or function lvalue of type "cv3 T3",
3892 // -- if T is a class type (clause 9) with a user-declared constructor
3900 // -- if T is a class type (clause 9) with either no default constructor
3901 // (12.1 [class.ctor]) or a default constructor that is user-provided
3908 // -- if T is a (possibly cv-qualified) non-union class type without a
3918 // -- if T is a non-union class type without a user-declared constructor,
3919 // then every non-static data member and base class component of T is
3960 // - if T is a (possibly cv-qualified) class type (Clause 9), the default
3971 // a const-qualified type T, T shall be a class type with a user-provided
3997 "Must have a class type to perform a user-defined conversion");
4009 // The type we're converting to is a class type. Enumerate its constructors
4056 // The type we're converting from is a class type, enumerate its conversion
4122 // If we're converting to a class type, there may be an copy of
4124 // a base class type). That copy is not a separate conversion, so
4126 // base class of the type returned by the conversion function) and
4481 // class member of array type from a parenthesized initializer list.
4526 class type:
4530 // source type is the same class as, or a derived class of, the
4531 // class of the destination, constructors are considered. [...]
4541 // used) to a derived class thereof are enumerated as described in
4555 // - Otherwise, if the source type is a (possibly cv-qualified) class
4733 CXXRecordDecl *Class,
4735 DeclContext::lookup_result R = S.LookupConstructors(Class);
4837 // Determine which class type we're copying to.
4839 CXXRecordDecl *Class = 0;
4841 Class = cast<CXXRecordDecl>(Record->getDecl());
4842 if (!Class)
4845 // C++0x [class.copy]p32:
4847 // omit the copy/move construction of a class object, even if the
4850 // - when a temporary class object that has not been bound to a
4851 // reference (12.2) would be copied/moved to a class object
4860 bool Elidable = CurInitExpr->isTemporaryObject(S.Context, Class);
4867 // Perform overload resolution using the class's copy/move constructors.
4869 // C++0x [dcl.init]p16, second bullet to class types, this initialization
4872 LookupCopyAndMoveConstructors(S, CandidateSet, Class, CurInitExpr);
5088 assert(Constructor->getParent() && "No parent class for constructor.");
5233 // C++11 [class.temporary]p5:
5763 QualType Class = S.Context.getTypeDeclType(Constructor->getParent());
5764 if (S.Context.hasSameUnqualifiedType(SourceType, Class) ||
5765 S.IsDerivedFrom(SourceType, Class))