Home | History | Annotate | Download | only in Parse

Lines Matching defs:StartLoc

3051 void Parser::ParseEnumSpecifier(SourceLocation StartLoc, DeclSpec &DS,
3226 Diag(StartLoc, diag::ext_ms_enum_fixed_underlying_type)
3229 Diag(StartLoc, diag::warn_cxx98_compat_enum_fixed_underlying_type);
3291 Diag(StartLoc, diag::err_explicit_instantiation_enum);
3316 StartLoc, SS, Name, NameLoc, attrs.getList(),
3331 TUK, SS, Name, StartLoc,
3338 if (DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc,
3339 NameLoc.isValid() ? NameLoc : StartLoc,
3341 Diag(StartLoc, DiagID) << PrevSpec;
3359 ParseEnumBody(StartLoc, TagDecl);
3361 if (DS.SetTypeSpecType(DeclSpec::TST_enum, StartLoc,
3362 NameLoc.isValid() ? NameLoc : StartLoc,
3364 Diag(StartLoc, DiagID) << PrevSpec;
3377 void Parser::ParseEnumBody(SourceLocation StartLoc, Decl *EnumDecl) {
3457 Actions.ActOnEnumBody(StartLoc, T.getOpenLocation(), T.getCloseLocation(),
5075 SourceLocation StartLoc = ConsumeToken();
5104 if (DS.SetTypeSpecType(DeclSpec::TST_typeofType, StartLoc, PrevSpec,
5106 Diag(StartLoc, DiagID) << PrevSpec;
5126 if (DS.SetTypeSpecType(DeclSpec::TST_typeofExpr, StartLoc, PrevSpec,
5128 Diag(StartLoc, DiagID) << PrevSpec;
5137 SourceLocation StartLoc = ConsumeToken();
5161 if (DS.SetTypeSpecType(DeclSpec::TST_atomic, StartLoc, PrevSpec,
5163 Diag(StartLoc, DiagID) << PrevSpec;