Lines Matching defs:StartLoc

1134   SourceLocation StartLoc = Tok.getLocation();
1158 return T.getOpenLocation() == Tok.getLocation() ? StartLoc
1227 if (Result.get() ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc,
1229 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc,
1231 Diag(StartLoc, DiagID) << PrevSpec;
1238 SourceLocation StartLoc,
1259 Tok.setLocation(StartLoc);
1268 SourceLocation StartLoc;
1275 StartLoc = Tok.getLocation();
1287 DS.SetTypeSpecType(DeclSpec::TST_typename_pack_indexing, StartLoc, PrevSpec,
1305 StartLoc = ConsumeToken();
1312 DS.SetRangeStart(StartLoc);
1321 DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, PrevSpec, DiagID, Type,
1328 SourceLocation StartLoc,
1346 Tok.setLocation(StartLoc);
1367 SourceLocation StartLoc = ConsumeToken();
1386 if (DS.SetTypeSpecType(TypeTransformTST, StartLoc, PrevSpec, DiagID,
1389 Diag(StartLoc, DiagID) << PrevSpec;
1716 SourceLocation StartLoc, DeclSpec &DS,
2136 Diag(StartLoc, diag::err_anon_type_definition)
2172 TagType, StartLoc, SS, TemplateId->Template,
2187 TUK, TagType, StartLoc, SS, TemplateId->TemplateKWLoc,
2232 getCurScope(), TagType, TUK, StartLoc, DS.getModulePrivateSpecLoc(),
2250 TagType, StartLoc, SS, Name, NameLoc, attrs);
2277 getCurScope(), DS.getFriendSpecLoc(), TagType, StartLoc, SS, Name,
2310 getCurScope(), TagType, TUK, StartLoc, SS, Name, NameLoc, attrs, AS,
2323 Name, StartLoc, NameLoc);
2343 SkipCXXMemberSpecification(StartLoc, AttrFixitLoc, TagType,
2346 ParseCXXMemberSpecification(StartLoc, AttrFixitLoc, attrs, TagType,
2352 ParseStructUnionBody(StartLoc, TagType, cast<RecordDecl>(D));
2369 Result = DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc,
2370 NameLoc.isValid() ? NameLoc : StartLoc,
2374 TagType, StartLoc, NameLoc.isValid() ? NameLoc : StartLoc, PrevSpec,
2382 Diag(StartLoc, DiagID) << PrevSpec;
2461 SourceLocation StartLoc = Tok.getLocation();
2470 CheckMisplacedCXX11Attribute(Attributes, StartLoc);
2480 CheckMisplacedCXX11Attribute(Attributes, StartLoc);
2495 CheckMisplacedCXX11Attribute(Attributes, StartLoc);
2520 SourceRange Range(StartLoc, EndLocation);
5069 SourceLocation StartLoc = Tok.getLocation();
5070 SourceLocation EndLoc = StartLoc;
5076 Attrs.Range = SourceRange(StartLoc, EndLoc);
5083 SourceLocation StartLoc = Tok.getLocation();
5087 SourceRange Range(StartLoc, EndLoc);
5088 (Keyword ? Diag(StartLoc, diag::err_keyword_not_allowed) << Keyword
5089 : Diag(StartLoc, diag::err_attributes_not_allowed))
5162 SourceLocation StartLoc = Tok.getLocation();
5194 Toks[0].setLocation(StartLoc);
5220 SourceLocation StartLoc = Tok.getLocation();
5221 SourceLocation EndLoc = StartLoc;
5272 Attrs.Range = SourceRange(StartLoc, EndLoc);