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

References

tools/clang/lib/Parse/ParseDecl.cpp
 3245       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
 3264         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
 3310         Diag(Loc, diag::err_ms_attributes_not_enabled);
 3341       if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid))
 3351         ParsedType TypeRep = Actions.ActOnObjCInstanceType(Loc);
 3353         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
 3358         DS.SetRangeEnd(Loc);
 3400       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
 3414                                   Loc, TypeRep, /*consumeLastToken=*/true,
 3463       isInvalid = DS.setFunctionSpecForceInline(Loc, PrevSpec, DiagID);
 3472       isInvalid = DS.SetTypeQual(DeclSpec::TQ_unaligned, Loc, PrevSpec, DiagID,
 3509       DS.getAttributes().addNew(Tok.getIdentifierInfo(), Loc, nullptr, Loc,
 3509       DS.getAttributes().addNew(Tok.getIdentifierInfo(), Loc, nullptr, Loc,
 3516       isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_typedef, Loc,
 3523       isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_extern, Loc,
 3529                                          Loc, PrevSpec, DiagID, Policy);
 3535       isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_static, Loc,
 3542           isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc,
 3548           isInvalid = DS.SetTypeSpecType(DeclSpec::TST_auto, Loc, PrevSpec,
 3551         isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_auto, Loc,
 3557       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_auto_type, Loc, PrevSpec,
 3561       isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_register, Loc,
 3566       isInvalid = DS.SetStorageClassSpec(Actions, DeclSpec::SCS_mutable, Loc,
 3571       isInvalid = DS.SetStorageClassSpecThread(DeclSpec::TSCS___thread, Loc,
 3576       isInvalid = DS.SetStorageClassSpecThread(DeclSpec::TSCS_thread_local, Loc,
 3584                                                Loc, PrevSpec, DiagID);
 3590       isInvalid = DS.setFunctionSpecInline(Loc, PrevSpec, DiagID);
 3601         isInvalid = DS.setFunctionSpecVirtual(Loc, PrevSpec, DiagID);
 3605       SourceLocation ExplicitLoc = Loc;
 3634       isInvalid = DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID);
 3647         isInvalid = DS.SetFriendSpec(Loc, PrevSpec, DiagID);
 3657       isInvalid = DS.setModulePrivateSpec(Loc, PrevSpec, DiagID);
 3662       isInvalid = DS.SetConstexprSpec(CSK_constexpr, Loc, PrevSpec, DiagID);
 3665       isInvalid = DS.SetConstexprSpec(CSK_consteval, Loc, PrevSpec, DiagID);
 3668       isInvalid = DS.SetConstexprSpec(CSK_constinit, Loc, PrevSpec, DiagID);
 3673       isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec,
 3678         isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec,
 3681         isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec,
 3685         isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec,
 3689       isInvalid = DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec,
 3693       isInvalid = DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec,
 3699       isInvalid = DS.SetTypeSpecComplex(DeclSpec::TSC_complex, Loc, PrevSpec,
 3705       isInvalid = DS.SetTypeSpecComplex(DeclSpec::TSC_imaginary, Loc, PrevSpec,
 3709       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec,
 3713       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec,
 3717       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec,
 3721       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_int128, Loc, PrevSpec,
 3725       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_half, Loc, PrevSpec,
 3729       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_float, Loc, PrevSpec,
 3733       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_double, Loc, PrevSpec,
 3737       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_float16, Loc, PrevSpec,
 3744         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_accum, Loc, PrevSpec,
 3752         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_fract, Loc, PrevSpec,
 3760         isInvalid = DS.SetTypeSpecSat(Loc, PrevSpec, DiagID);
 3764       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_float128, Loc, PrevSpec,
 3768       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_wchar, Loc, PrevSpec,
 3772       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char8, Loc, PrevSpec,
 3776       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char16, Loc, PrevSpec,
 3780       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char32, Loc, PrevSpec,
 3797         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_bool, Loc, PrevSpec,
 3802       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_decimal32, Loc, PrevSpec,
 3806       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_decimal64, Loc, PrevSpec,
 3810       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_decimal128, Loc, PrevSpec,
 3814       isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID, Policy);
 3817       isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID, Policy);
 3820       isInvalid = DS.SetTypeAltiVecBool(true, Loc, PrevSpec, DiagID, Policy);
 3830       isInvalid = DS.SetTypePipe(true, Loc, PrevSpec, DiagID, Policy);
 3839       isInvalid = DS.SetTypeSpecType(TST_unknown_anytype, Loc,
 3855       ParseClassSpecifier(Kind, Loc, DS, TemplateInfo, AS,
 3870       ParseEnumSpecifier(Loc, DS, TemplateInfo, AS, DSContext);
 3875       isInvalid = DS.SetTypeQual(DeclSpec::TQ_const, Loc, PrevSpec, DiagID,
 3879       isInvalid = DS.SetTypeQual(DeclSpec::TQ_volatile, Loc, PrevSpec, DiagID,
 3883       isInvalid = DS.SetTypeQual(DeclSpec::TQ_restrict, Loc, PrevSpec, DiagID,
 3938       isInvalid = DS.SetTypeQual(DeclSpec::TQ_atomic, Loc, PrevSpec, DiagID,
 4002         Diag(Loc, DiagID) << PrevSpec
 4004                                  SourceRange(Loc, DS.getEndLoc()));
 4006         Diag(Loc, DiagID) << getLangOpts().OpenCLCPlusPlus
 4010         Diag(Loc, DiagID) << PrevSpec;