Lines Matching refs:EltTy

9371   QualType EltTy = Context.getBaseElementType(T);
9372 if (!EltTy->isDependentType()) {
9373 if (RequireCompleteType(Loc, EltTy, diag::err_field_incomplete)) {
9379 EltTy->isIncompleteType(&Def);
9458 if (const RecordType *RT = EltTy->getAs<RecordType>()) {
9473 if (EltTy->isReferenceType()) {
9475 << NewFD->getDeclName() << EltTy;
9506 QualType EltTy = Context.getBaseElementType(FD->getType());
9507 if (const RecordType *RT = EltTy->getAs<RecordType>()) {
9698 QualType EltTy = Context.getBaseElementType(fi->getType());
9699 if (const RecordType *EltRT = EltTy->getAs<RecordType>()) {
9710 if (EltTy->isObjCLifetimeType()) {
9711 switch (EltTy.getObjCLifetime()) {
9720 << QT << EltTy.getObjCLifetime();
10323 QualType EltTy;
10333 EltTy = Context.DependentTy;
10341 EltTy = Enum->getIntegerType();
10343 CheckConvertedConstantExpression(Val, EltTy, EnumVal,
10355 EltTy = Enum->getIntegerType();
10361 if (!isRepresentableIntegerValue(Context, EnumVal, EltTy)) {
10363 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy;
10364 Val = ImpCastExprToType(Val, EltTy, CK_IntegralCast).take();
10366 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy;
10368 Val = ImpCastExprToType(Val, EltTy, CK_IntegralCast).take();
10375 EltTy = Val->getType();
10391 EltTy = Val->getType();
10399 EltTy = Context.DependentTy;
10410 EltTy = Enum->getIntegerType();
10413 EltTy = Context.IntTy;
10419 EltTy = LastEnumConst->getType();
10433 QualType T = getNextLargerIntegralType(Context, EltTy);
10444 << EltTy;
10449 EltTy = T;
10456 EnumVal.setIsSigned(EltTy->isSignedIntegerOrEnumerationType());
10457 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy));
10468 !isRepresentableIntegerValue(Context, EnumVal, EltTy)) {
10476 if (!EltTy->isDependentType()) {
10479 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy));
10480 EnumVal.setIsSigned(EltTy->isSignedIntegerOrEnumerationType());
10483 return EnumConstantDecl::Create(Context, Enum, IdLoc, Id, EltTy,