Lines Matching refs:StartLoc
1125 SourceLocation StartLoc = Tok.getLocation(); in ParseDecltypeSpecifier() local
1149 return T.getOpenLocation() == Tok.getLocation() ? StartLoc in ParseDecltypeSpecifier()
1218 if (Result.get() ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, in ParseDecltypeSpecifier()
1220 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, in ParseDecltypeSpecifier()
1222 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier()
1229 SourceLocation StartLoc, in AnnotateExistingDecltypeSpecifier() argument
1250 Tok.setLocation(StartLoc); in AnnotateExistingDecltypeSpecifier()
1259 SourceLocation StartLoc; in ParsePackIndexingType() local
1266 StartLoc = Tok.getLocation(); in ParsePackIndexingType()
1278 DS.SetTypeSpecType(DeclSpec::TST_typename_pack_indexing, StartLoc, PrevSpec, in ParsePackIndexingType()
1296 StartLoc = ConsumeToken(); in ParsePackIndexingType()
1303 DS.SetRangeStart(StartLoc); in ParsePackIndexingType()
1312 DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, PrevSpec, DiagID, Type, in ParsePackIndexingType()
1319 SourceLocation StartLoc, in AnnotateExistingIndexedTypeNamePack() argument
1337 Tok.setLocation(StartLoc); in AnnotateExistingIndexedTypeNamePack()
1358 SourceLocation StartLoc = ConsumeToken(); in MaybeParseTypeTransformTypeSpecifier() local
1377 if (DS.SetTypeSpecType(TypeTransformTST, StartLoc, PrevSpec, DiagID, in MaybeParseTypeTransformTypeSpecifier()
1380 Diag(StartLoc, DiagID) << PrevSpec; in MaybeParseTypeTransformTypeSpecifier()
1707 SourceLocation StartLoc, DeclSpec &DS, in ParseClassSpecifier() argument
2121 Diag(StartLoc, diag::err_anon_type_definition) in ParseClassSpecifier()
2157 TagType, StartLoc, SS, TemplateId->Template, in ParseClassSpecifier()
2172 TUK, TagType, StartLoc, SS, TemplateId->TemplateKWLoc, in ParseClassSpecifier()
2217 getCurScope(), TagType, TUK, StartLoc, DS.getModulePrivateSpecLoc(), in ParseClassSpecifier()
2235 TagType, StartLoc, SS, Name, NameLoc, attrs); in ParseClassSpecifier()
2243 getCurScope(), DS.getFriendSpecLoc(), TagType, StartLoc, SS, Name, in ParseClassSpecifier()
2276 getCurScope(), TagType, TUK, StartLoc, SS, Name, NameLoc, attrs, AS, in ParseClassSpecifier()
2289 Name, StartLoc, NameLoc); in ParseClassSpecifier()
2309 SkipCXXMemberSpecification(StartLoc, AttrFixitLoc, TagType, in ParseClassSpecifier()
2312 ParseCXXMemberSpecification(StartLoc, AttrFixitLoc, attrs, TagType, in ParseClassSpecifier()
2318 ParseStructUnionBody(StartLoc, TagType, cast<RecordDecl>(D)); in ParseClassSpecifier()
2335 Result = DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, in ParseClassSpecifier()
2336 NameLoc.isValid() ? NameLoc : StartLoc, in ParseClassSpecifier()
2340 TagType, StartLoc, NameLoc.isValid() ? NameLoc : StartLoc, PrevSpec, in ParseClassSpecifier()
2348 Diag(StartLoc, DiagID) << PrevSpec; in ParseClassSpecifier()
2427 SourceLocation StartLoc = Tok.getLocation(); in ParseBaseSpecifier() local
2436 CheckMisplacedCXX11Attribute(Attributes, StartLoc); in ParseBaseSpecifier()
2446 CheckMisplacedCXX11Attribute(Attributes, StartLoc); in ParseBaseSpecifier()
2461 CheckMisplacedCXX11Attribute(Attributes, StartLoc); in ParseBaseSpecifier()
2486 SourceRange Range(StartLoc, EndLocation); in ParseBaseSpecifier()
4958 SourceLocation StartLoc = Tok.getLocation(); in ParseCXX11Attributes() local
4959 SourceLocation EndLoc = StartLoc; in ParseCXX11Attributes()
4965 Attrs.Range = SourceRange(StartLoc, EndLoc); in ParseCXX11Attributes()
4972 SourceLocation StartLoc = Tok.getLocation(); in DiagnoseAndSkipCXX11Attributes() local
4976 SourceRange Range(StartLoc, EndLoc); in DiagnoseAndSkipCXX11Attributes()
4977 (Keyword ? Diag(StartLoc, diag::err_keyword_not_allowed) << Keyword in DiagnoseAndSkipCXX11Attributes()
4978 : Diag(StartLoc, diag::err_attributes_not_allowed)) in DiagnoseAndSkipCXX11Attributes()
5051 SourceLocation StartLoc = Tok.getLocation(); in ParseMicrosoftUuidAttributeArgs() local
5083 Toks[0].setLocation(StartLoc); in ParseMicrosoftUuidAttributeArgs()
5109 SourceLocation StartLoc = Tok.getLocation(); in ParseMicrosoftAttributes() local
5110 SourceLocation EndLoc = StartLoc; in ParseMicrosoftAttributes()
5161 Attrs.Range = SourceRange(StartLoc, EndLoc); in ParseMicrosoftAttributes()