reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaType.cpp
 1276     Result = Context.VoidTy;
 1280       Result = Context.CharTy;
 1282       Result = Context.SignedCharTy;
 1286       Result = Context.UnsignedCharTy;
 1291       Result = Context.WCharTy;
 1296       Result = Context.getSignedWCharType();
 1303       Result = Context.getUnsignedWCharType();
 1309       Result = Context.Char8Ty;
 1314       Result = Context.Char16Ty;
 1319       Result = Context.Char32Ty;
 1329       Result = Context.getAutoDeductType();
 1335       Result = Context.DependentTy;
 1383       case DeclSpec::TSW_unspecified: Result = Context.IntTy; break;
 1384       case DeclSpec::TSW_short:       Result = Context.ShortTy; break;
 1385       case DeclSpec::TSW_long:        Result = Context.LongTy; break;
 1387         Result = Context.LongLongTy;
 1402       case DeclSpec::TSW_unspecified: Result = Context.UnsignedIntTy; break;
 1403       case DeclSpec::TSW_short:       Result = Context.UnsignedShortTy; break;
 1404       case DeclSpec::TSW_long:        Result = Context.UnsignedLongTy; break;
 1406         Result = Context.UnsignedLongLongTy;
 1425         Result = Context.ShortAccumTy;
 1428         Result = Context.AccumTy;
 1431         Result = Context.LongAccumTy;
 1438       Result = Context.getCorrespondingUnsignedType(Result);
 1438       Result = Context.getCorrespondingUnsignedType(Result);
 1441       Result = Context.getCorrespondingSaturatedType(Result);
 1441       Result = Context.getCorrespondingSaturatedType(Result);
 1448         Result = Context.ShortFractTy;
 1451         Result = Context.FractTy;
 1454         Result = Context.LongFractTy;
 1461       Result = Context.getCorrespondingUnsignedType(Result);
 1461       Result = Context.getCorrespondingUnsignedType(Result);
 1464       Result = Context.getCorrespondingSaturatedType(Result);
 1464       Result = Context.getCorrespondingSaturatedType(Result);
 1474       Result = Context.UnsignedInt128Ty;
 1476       Result = Context.Int128Ty;
 1486     Result = Context.Float16Ty;
 1488   case DeclSpec::TST_half:    Result = Context.HalfTy; break;
 1489   case DeclSpec::TST_float:   Result = Context.FloatTy; break;
 1492       Result = Context.LongDoubleTy;
 1494       Result = Context.DoubleTy;
 1501     Result = Context.Float128Ty;
 1503   case DeclSpec::TST_bool: Result = Context.BoolTy; break; // _Bool or bool
 1509     Result = Context.IntTy;
 1520       Result = Context.IntTy;
 1532     Result = Context.getTypeDeclType(D);
 1537     Result = S.getElaboratedType(Keyword, DS.getTypeSpecScope(), Result,
 1537     Result = S.getElaboratedType(Keyword, DS.getTypeSpecScope(), Result,
 1545     Result = S.GetTypeFromParser(DS.getRepAsType());
 1546     if (Result.isNull()) {
 1555     Result = S.GetTypeFromParser(DS.getRepAsType());
 1556     assert(!Result.isNull() && "Didn't get a type for typeof?");
 1557     if (!Result->isDependentType())
 1558       if (const TagType *TT = Result->getAs<TagType>())
 1561     Result = Context.getTypeOfType(Result);
 1561     Result = Context.getTypeOfType(Result);
 1567     Result = S.BuildTypeofExprType(E, DS.getTypeSpecTypeLoc());
 1568     if (Result.isNull()) {
 1569       Result = Context.IntTy;
 1578     Result = S.BuildDecltypeType(E, DS.getTypeSpecTypeLoc());
 1579     if (Result.isNull()) {
 1580       Result = Context.IntTy;
 1586     Result = S.GetTypeFromParser(DS.getRepAsType());
 1587     assert(!Result.isNull() && "Didn't get a type for __underlying_type?");
 1588     Result = S.BuildUnaryTransformType(Result,
 1588     Result = S.BuildUnaryTransformType(Result,
 1591     if (Result.isNull()) {
 1592       Result = Context.IntTy;
 1598     Result = Context.getAutoType(QualType(), AutoTypeKeyword::Auto, false);
 1602     Result = Context.getAutoType(QualType(), AutoTypeKeyword::GNUAutoType, false);
 1606     Result = Context.getAutoType(QualType(), AutoTypeKeyword::DecltypeAuto,
 1611     Result = Context.UnknownAnyTy;
 1615     Result = S.GetTypeFromParser(DS.getRepAsType());
 1616     assert(!Result.isNull() && "Didn't get a type for _Atomic?");
 1617     Result = S.BuildAtomicType(Result, DS.getTypeSpecTypeLoc());
 1617     Result = S.BuildAtomicType(Result, DS.getTypeSpecTypeLoc());
 1618     if (Result.isNull()) {
 1619       Result = Context.IntTy;
 1643     Result = Context.IntTy;
 1649       S.checkOpenCLDisabledTypeDeclSpec(DS, Result))
 1665     Result = Context.getComplexType(Result);
 1665     Result = Context.getComplexType(Result);
 1667     unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result));
 1674     Result = Context.getVectorType(Result, 128/typeSize, VecKind);
 1674     Result = Context.getVectorType(Result, 128/typeSize, VecKind);
 1684     maybeSynthesizeBlockSignature(state, Result);
 1691     processTypeAttrs(state, Result, TAL_DeclSpec, DS.getAttributes());
 1703     if (TypeQuals && Result->isFunctionType()) {
 1705           S, DS, TypeQuals, Result, DeclSpec::TQ_const | DeclSpec::TQ_volatile,
 1721     if (TypeQuals && Result->isReferenceType()) {
 1723           S, DS, TypeQuals, Result,
 1732         && TypeQuals & Result.getCVRQualifiers()) {
 1733       if (TypeQuals & DeclSpec::TQ_const && Result.isConstQualified()) {
 1738       if (TypeQuals & DeclSpec::TQ_volatile && Result.isVolatileQualified()) {
 1747     QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS);
 1753       Result = Qualified;
 1756   assert(!Result.isNull() && "This function should not return a null type");
 1757   return Result;