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);
 3246                                      DiagID, TypeRep, Policy);
 3265                                        DiagID, T, Policy);
 3341       if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid))
 3354                                        DiagID, TypeRep, Policy);
 3401                                      DiagID, TypeRep, Policy);
 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);
 3549                                          DiagID, Policy);
 3552                                            PrevSpec, DiagID, Policy);
 3558                                      DiagID, Policy);
 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);
 3596         DiagID = diag::err_openclcxx_virtual_function;
 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);
 3650         DiagID = diag::err_friend_invalid_in_context;
 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);
 3674                                       DiagID, Policy);
 3679                                         DiagID, Policy);
 3682                                         DiagID, Policy);
 3686                                         DiagID, Policy);
 3690                                      DiagID);
 3694                                      DiagID);
 3700                                         DiagID);
 3706                                         DiagID);
 3710                                      DiagID, Policy);
 3714                                      DiagID, Policy);
 3718                                      DiagID, Policy);
 3722                                      DiagID, Policy);
 3726                                      DiagID, Policy);
 3730                                      DiagID, Policy);
 3734                                      DiagID, Policy);
 3738                                      DiagID, Policy);
 3742         SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid);
 3745                                        DiagID, Policy);
 3750         SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid);
 3753                                        DiagID, Policy);
 3758         SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid);
 3760         isInvalid = DS.SetTypeSpecSat(Loc, PrevSpec, DiagID);
 3765                                      DiagID, Policy);
 3769                                      DiagID, Policy);
 3773                                      DiagID, Policy);
 3777                                      DiagID, Policy);
 3781                                      DiagID, Policy);
 3792         DiagID = diag::err_bool_redeclaration;
 3798                                        DiagID, Policy);
 3803                                      DiagID, Policy);
 3807                                      DiagID, Policy);
 3811                                      DiagID, Policy);
 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,
 3948         DiagID = diag::err_opencl_unknown_type_specifier;
 3978                                PrevSpec, DiagID, Type.get(),
 3980           Diag(StartLoc, DiagID) << PrevSpec;
 3997       assert(DiagID);
 3999       if (DiagID == diag::ext_duplicate_declspec ||
 4000           DiagID == diag::ext_warn_duplicate_declspec ||
 4001           DiagID == diag::err_duplicate_declspec)
 4002         Diag(Loc, DiagID) << PrevSpec
 4005       else if (DiagID == diag::err_opencl_unknown_type_specifier) {
 4006         Diag(Loc, DiagID) << getLangOpts().OpenCLCPlusPlus
 4010         Diag(Loc, DiagID) << PrevSpec;
 4013     if (DiagID != diag::err_bool_redeclaration && ConsumedEnd.isInvalid())