Lines Matching refs:StartLoc
761 SourceLocation StartLoc = Tok.getLocation(); in ParseDecltypeSpecifier() local
783 StartLoc : T.getOpenLocation(); in ParseDecltypeSpecifier()
851 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
853 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
855 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier()
862 SourceLocation StartLoc, in AnnotateExistingDecltypeSpecifier() argument
876 Tok.setLocation(StartLoc); in AnnotateExistingDecltypeSpecifier()
884 SourceLocation StartLoc = ConsumeToken(); in ParseUnderlyingTypeSpecifier() local
904 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier()
907 Diag(StartLoc, DiagID) << PrevSpec; in ParseUnderlyingTypeSpecifier()
1192 SourceLocation StartLoc, DeclSpec &DS, in ParseClassSpecifier() argument
1535 Diag(StartLoc, diag::err_anon_type_definition) in ParseClassSpecifier()
1570 StartLoc, in ParseClassSpecifier()
1587 TypeResult = Actions.ActOnTagTemplateIdType(TUK, TagType, StartLoc, in ParseClassSpecifier()
1637 getCurScope(), TagType, TUK, StartLoc, DS.getModulePrivateSpecLoc(), in ParseClassSpecifier()
1657 TagType, StartLoc, SS, Name, in ParseClassSpecifier()
1665 TagType, StartLoc, SS, in ParseClassSpecifier()
1697 TagOrTempResult = Actions.ActOnTag(getCurScope(), TagType, TUK, StartLoc, in ParseClassSpecifier()
1711 SS, Name, StartLoc, NameLoc); in ParseClassSpecifier()
1721 SkipCXXMemberSpecification(StartLoc, AttrFixitLoc, TagType, in ParseClassSpecifier()
1724 ParseCXXMemberSpecification(StartLoc, AttrFixitLoc, attrs, TagType, in ParseClassSpecifier()
1727 ParseStructUnionBody(StartLoc, TagType, TagOrTempResult.get()); in ParseClassSpecifier()
1734 Result = DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, in ParseClassSpecifier()
1735 NameLoc.isValid() ? NameLoc : StartLoc, in ParseClassSpecifier()
1738 Result = DS.SetTypeSpecType(TagType, StartLoc, in ParseClassSpecifier()
1739 NameLoc.isValid() ? NameLoc : StartLoc, in ParseClassSpecifier()
1748 Diag(StartLoc, DiagID) << PrevSpec; in ParseClassSpecifier()
1827 SourceLocation StartLoc = Tok.getLocation(); in ParseBaseSpecifier() local
1836 CheckMisplacedCXX11Attribute(Attributes, StartLoc); in ParseBaseSpecifier()
1843 CheckMisplacedCXX11Attribute(Attributes, StartLoc); in ParseBaseSpecifier()
1858 CheckMisplacedCXX11Attribute(Attributes, StartLoc); in ParseBaseSpecifier()
1874 SourceRange Range(StartLoc, EndLocation); in ParseBaseSpecifier()
3763 SourceLocation StartLoc = Tok.getLocation(), Loc; in ParseCXX11Attributes() local
3771 attrs.Range = SourceRange(StartLoc, *endLoc); in ParseCXX11Attributes()
3776 SourceLocation StartLoc = Tok.getLocation(); in DiagnoseAndSkipCXX11Attributes() local
3780 SourceRange Range(StartLoc, EndLoc); in DiagnoseAndSkipCXX11Attributes()
3781 Diag(StartLoc, diag::err_attributes_not_allowed) in DiagnoseAndSkipCXX11Attributes()