Lines Matching defs:StartLoc

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