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

References

tools/clang/lib/Sema/SemaType.cpp
 1271   ASTContext &Context = S.Context;
 1293       S.Diag(DS.getTypeSpecSignLoc(), diag::ext_wchar_t_sign_spec)
 1300       S.Diag(DS.getTypeSpecSignLoc(), diag::ext_wchar_t_sign_spec)
 1326     if (S.getLangOpts().CPlusPlus14 &&
 1333                checkOmittedBlockReturnType(S, declarator,
 1346     if (S.getLangOpts().ImplicitInt) {
 1350         S.Diag(DeclLoc, diag::ext_missing_declspec)
 1359       if (S.getLangOpts().CPlusPlus && !DS.isTypeSpecPipe()) {
 1360         S.Diag(DeclLoc, diag::err_missing_type_specifier)
 1367       } else if ((S.getLangOpts().OpenCLVersion >= 200 ||
 1368                   S.getLangOpts().OpenCLCPlusPlus) &&
 1370         S.Diag(DeclLoc, diag::err_missing_actual_pipe_type)
 1374         S.Diag(DeclLoc, diag::ext_missing_type_specifier)
 1390         if (!S.getLangOpts().C99) {
 1391           if (S.getLangOpts().CPlusPlus)
 1392             S.Diag(DS.getTypeSpecWidthLoc(),
 1393                    S.getLangOpts().CPlusPlus11 ?
 1396             S.Diag(DS.getTypeSpecWidthLoc(), diag::ext_c99_longlong);
 1409         if (!S.getLangOpts().C99) {
 1410           if (S.getLangOpts().CPlusPlus)
 1411             S.Diag(DS.getTypeSpecWidthLoc(),
 1412                    S.getLangOpts().CPlusPlus11 ?
 1415             S.Diag(DS.getTypeSpecWidthLoc(), diag::ext_c99_longlong);
 1469     if (!S.Context.getTargetInfo().hasInt128Type() &&
 1470         !(S.getLangOpts().OpenMP && S.getLangOpts().OpenMPIsDevice))
 1470         !(S.getLangOpts().OpenMP && S.getLangOpts().OpenMPIsDevice))
 1471       S.Diag(DS.getTypeSpecTypeLoc(), diag::err_type_unsupported)
 1482     if (!S.Context.getTargetInfo().hasFloat16Type() && !S.getLangOpts().CUDA &&
 1482     if (!S.Context.getTargetInfo().hasFloat16Type() && !S.getLangOpts().CUDA &&
 1483         !(S.getLangOpts().OpenMP && S.getLangOpts().OpenMPIsDevice))
 1483         !(S.getLangOpts().OpenMP && S.getLangOpts().OpenMPIsDevice))
 1484       S.Diag(DS.getTypeSpecTypeLoc(), diag::err_type_unsupported)
 1497     if (!S.Context.getTargetInfo().hasFloat128Type() &&
 1498         !(S.getLangOpts().OpenMP && S.getLangOpts().OpenMPIsDevice))
 1498         !(S.getLangOpts().OpenMP && S.getLangOpts().OpenMPIsDevice))
 1499       S.Diag(DS.getTypeSpecTypeLoc(), diag::err_type_unsupported)
 1508     S.Diag(DS.getTypeSpecTypeLoc(), diag::err_decimal_unsupported);
 1526     S.DiagnoseUseOfDecl(D, DS.getTypeSpecTypeNameLoc());
 1537     Result = S.getElaboratedType(Keyword, DS.getTypeSpecScope(), Result,
 1545     Result = S.GetTypeFromParser(DS.getRepAsType());
 1555     Result = S.GetTypeFromParser(DS.getRepAsType());
 1559         S.DiagnoseUseOfDecl(TT->getDecl(), DS.getTypeSpecTypeLoc());
 1567     Result = S.BuildTypeofExprType(E, DS.getTypeSpecTypeLoc());
 1578     Result = S.BuildDecltypeType(E, DS.getTypeSpecTypeLoc());
 1586     Result = S.GetTypeFromParser(DS.getRepAsType());
 1588     Result = S.BuildUnaryTransformType(Result,
 1615     Result = S.GetTypeFromParser(DS.getRepAsType());
 1617     Result = S.BuildAtomicType(Result, DS.getTypeSpecTypeLoc());
 1648   if (S.getLangOpts().OpenCL &&
 1649       S.checkOpenCLDisabledTypeDeclSpec(DS, Result))
 1657     S.Diag(DS.getTypeSpecSatLoc(), diag::err_invalid_saturation_spec)
 1663     if (S.getLangOpts().Freestanding)
 1664       S.Diag(DS.getTypeSpecComplexLoc(), diag::ext_freestanding_complex);
 1679     S.Diag(DS.getTypeSpecComplexLoc(), diag::err_imaginary_not_supported);
 1705           S, DS, TypeQuals, Result, DeclSpec::TQ_const | DeclSpec::TQ_volatile,
 1706           S.getLangOpts().CPlusPlus
 1723           S, DS, TypeQuals, Result,
 1731     if (!S.getLangOpts().C99 && !S.getLangOpts().CPlusPlus
 1731     if (!S.getLangOpts().C99 && !S.getLangOpts().CPlusPlus
 1734         S.Diag(DS.getConstSpecLoc(), diag::ext_duplicate_declspec)
 1739         S.Diag(DS.getVolatileSpecLoc(), diag::ext_duplicate_declspec)
 1747     QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS);