Lines Matching refs:Keyword

1090     IdentifierInfo *Keyword = Tok.getIdentifierInfo();  in ParseAvailabilityAttribute()  local
1093 if (Keyword == Ident_strict) { in ParseAvailabilityAttribute()
1096 << Keyword << SourceRange(StrictLoc); in ParseAvailabilityAttribute()
1102 if (Keyword == Ident_unavailable) { in ParseAvailabilityAttribute()
1105 << Keyword << SourceRange(UnavailableLoc); in ParseAvailabilityAttribute()
1111 if (Keyword == Ident_deprecated && Platform->Ident && in ParseAvailabilityAttribute()
1116 << Keyword in ParseAvailabilityAttribute()
1127 Diag(Tok, diag::err_expected_after) << Keyword << tok::equal; in ParseAvailabilityAttribute()
1132 if (Keyword == Ident_message || Keyword == Ident_replacement) { in ParseAvailabilityAttribute()
1139 if (Keyword == Ident_message) in ParseAvailabilityAttribute()
1154 if (Keyword == Ident_message) in ParseAvailabilityAttribute()
1162 if ((Keyword == Ident_introduced || Keyword == Ident_deprecated) && in ParseAvailabilityAttribute()
1167 if (Keyword == Ident_introduced) in ParseAvailabilityAttribute()
1182 if (Keyword == Ident_introduced) in ParseAvailabilityAttribute()
1184 else if (Keyword == Ident_deprecated) in ParseAvailabilityAttribute()
1186 else if (Keyword == Ident_obsoleted) in ParseAvailabilityAttribute()
1194 << Keyword in ParseAvailabilityAttribute()
1204 << Keyword << VersionRange; in ParseAvailabilityAttribute()
1291 IdentifierInfo *Keyword = Tok.getIdentifierInfo(); in ParseExternalSourceSymbolAttribute() local
1292 if (Keyword == Ident_generated_declaration) { in ParseExternalSourceSymbolAttribute()
1294 Diag(Tok, diag::err_external_source_symbol_duplicate_clause) << Keyword; in ParseExternalSourceSymbolAttribute()
1302 if (Keyword != Ident_language && Keyword != Ident_defined_in) { in ParseExternalSourceSymbolAttribute()
1310 Keyword->getName())) { in ParseExternalSourceSymbolAttribute()
1316 if (Keyword == Ident_language) in ParseExternalSourceSymbolAttribute()
1324 << /*language | source container*/ (Keyword != Ident_language); in ParseExternalSourceSymbolAttribute()
1328 if (Keyword == Ident_language) { in ParseExternalSourceSymbolAttribute()
1331 << Keyword; in ParseExternalSourceSymbolAttribute()
1337 assert(Keyword == Ident_defined_in && "Invalid clause keyword!"); in ParseExternalSourceSymbolAttribute()
1340 << Keyword; in ParseExternalSourceSymbolAttribute()