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

References

tools/clang/lib/Parse/ParseDecl.cpp
 3194                                          PrevSpec, DiagID, T, Policy);
 3245       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
 3264         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
 3341       if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid))
 3353         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
 3400       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
 3463       isInvalid = DS.setFunctionSpecForceInline(Loc, PrevSpec, DiagID);
 3472       isInvalid = DS.SetTypeQual(DeclSpec::TQ_unaligned, Loc, PrevSpec, DiagID,
 3517                                          PrevSpec, DiagID, Policy);
 3524                                          PrevSpec, DiagID, Policy);
 3529                                          Loc, PrevSpec, DiagID, Policy);
 3536                                          PrevSpec, DiagID, Policy);
 3543                                              PrevSpec, DiagID, Policy);
 3548           isInvalid = DS.SetTypeSpecType(DeclSpec::TST_auto, Loc, PrevSpec,
 3552                                            PrevSpec, DiagID, Policy);
 3557       isInvalid = DS.SetTypeSpecType(DeclSpec::TST_auto_type, Loc, PrevSpec,
 3562                                          PrevSpec, DiagID, Policy);
 3567                                          PrevSpec, DiagID, Policy);
 3572                                                PrevSpec, DiagID);
 3577                                                PrevSpec, DiagID);
 3584                                                Loc, PrevSpec, DiagID);
 3590       isInvalid = DS.setFunctionSpecInline(Loc, PrevSpec, DiagID);
 3597         PrevSpec = Tok.getIdentifierInfo()->getNameStart();
 3601         isInvalid = DS.setFunctionSpecVirtual(Loc, PrevSpec, DiagID);
 3627       isInvalid = DS.setFunctionSpecExplicit(ExplicitLoc, PrevSpec, DiagID,
 3634       isInvalid = DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID);
 3647         isInvalid = DS.SetFriendSpec(Loc, PrevSpec, DiagID);
 3649         PrevSpec = ""; // not actually used by the diagnostic
 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,
 3742         SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid);
 3744         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_accum, Loc, PrevSpec,
 3750         SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid);
 3752         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_fract, Loc, PrevSpec,
 3758         SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid);
 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,
 3791         PrevSpec = ""; // Not used by the diagnostic.
 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);
 3840                                      PrevSpec, DiagID, Policy);
 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,
 3949         PrevSpec = Tok.getIdentifierInfo()->getNameStart();
 3978                                PrevSpec, DiagID, Type.get(),
 3980           Diag(StartLoc, DiagID) << PrevSpec;
 3996       assert(PrevSpec && "Method did not return previous specifier!");
 4002         Diag(Loc, DiagID) << PrevSpec
 4008                           << PrevSpec << isStorageClass;
 4010         Diag(Loc, DiagID) << PrevSpec;