Lines Matching refs:Keyword

1367     IdentifierInfo *Keyword = Tok.getIdentifierInfo();  in ParseAvailabilityAttribute()  local
1370 if (Keyword == Ident_strict) { in ParseAvailabilityAttribute()
1373 << Keyword << SourceRange(StrictLoc); in ParseAvailabilityAttribute()
1379 if (Keyword == Ident_unavailable) { in ParseAvailabilityAttribute()
1382 << Keyword << SourceRange(UnavailableLoc); in ParseAvailabilityAttribute()
1388 if (Keyword == Ident_deprecated && Platform->Ident && in ParseAvailabilityAttribute()
1393 << Keyword in ParseAvailabilityAttribute()
1403 if (Keyword == Ident_environment) { in ParseAvailabilityAttribute()
1406 << Keyword << SourceRange(EnvironmentLoc->Loc); in ParseAvailabilityAttribute()
1411 Diag(Tok, diag::err_expected_after) << Keyword << tok::equal; in ParseAvailabilityAttribute()
1416 if (Keyword == Ident_message || Keyword == Ident_replacement) { in ParseAvailabilityAttribute()
1423 if (Keyword == Ident_message) { in ParseAvailabilityAttribute()
1431 if (Keyword == Ident_environment) { in ParseAvailabilityAttribute()
1443 if ((Keyword == Ident_introduced || Keyword == Ident_deprecated) && in ParseAvailabilityAttribute()
1448 if (Keyword == Ident_introduced) in ParseAvailabilityAttribute()
1463 if (Keyword == Ident_introduced) in ParseAvailabilityAttribute()
1465 else if (Keyword == Ident_deprecated) in ParseAvailabilityAttribute()
1467 else if (Keyword == Ident_obsoleted) in ParseAvailabilityAttribute()
1475 << Keyword in ParseAvailabilityAttribute()
1485 << Keyword << VersionRange; in ParseAvailabilityAttribute()
1572 IdentifierInfo *Keyword = Tok.getIdentifierInfo(); in ParseExternalSourceSymbolAttribute() local
1573 if (Keyword == Ident_generated_declaration) { in ParseExternalSourceSymbolAttribute()
1575 Diag(Tok, diag::err_external_source_symbol_duplicate_clause) << Keyword; in ParseExternalSourceSymbolAttribute()
1583 if (Keyword != Ident_language && Keyword != Ident_defined_in && in ParseExternalSourceSymbolAttribute()
1584 Keyword != Ident_USR) { in ParseExternalSourceSymbolAttribute()
1592 Keyword->getName())) { in ParseExternalSourceSymbolAttribute()
1599 if (Keyword == Ident_language) in ParseExternalSourceSymbolAttribute()
1601 else if (Keyword == Ident_USR) in ParseExternalSourceSymbolAttribute()
1610 Keyword == Ident_language in ParseExternalSourceSymbolAttribute()
1612 : (Keyword == Ident_defined_in ? 1 : 2)); in ParseExternalSourceSymbolAttribute()
1616 if (Keyword == Ident_language) { in ParseExternalSourceSymbolAttribute()
1619 << Keyword; in ParseExternalSourceSymbolAttribute()
1624 } else if (Keyword == Ident_USR) { in ParseExternalSourceSymbolAttribute()
1627 << Keyword; in ParseExternalSourceSymbolAttribute()
1633 assert(Keyword == Ident_defined_in && "Invalid clause keyword!"); in ParseExternalSourceSymbolAttribute()
1636 << Keyword; in ParseExternalSourceSymbolAttribute()
1880 auto Keyword = in DiagnoseMisplacedCXX11Attribute() local
1886 (Keyword ? Diag(Loc, diag::err_keyword_not_allowed) << Keyword in DiagnoseMisplacedCXX11Attribute()