Lines Matching full:identifier
47 /// 'inline'[opt] 'namespace' identifier attributes[opt]
55 /// 'namespace' identifier '=' qualified-namespace-specifier ';'
86 if (Tok.is(tok::identifier)) {
88 IdentLoc = ConsumeToken(); // eat the identifier.
89 while (Tok.is(tok::coloncolon) && NextToken().is(tok::identifier)) {
108 Diag(Tok, diag::err_expected) << tok::identifier;
127 Diag(Tok, diag::err_expected_either) << tok::identifier << tok::l_brace;
266 if (SS.isInvalid() || Tok.isNot(tok::identifier)) {
273 // Parse identifier.
445 if (SS.isInvalid() || Tok.isNot(tok::identifier)) {
453 // Parse identifier.
484 /// 'using' identifier attribute-specifier-seq[opt] = type-id ;
496 // Check for misplaced attributes before the identifier in an
534 // specified after the nested-name-specifier is the same as the identifier
539 Tok.is(tok::identifier) && NextToken().is(tok::semi) &&
602 // Name must be an identifier.
922 /// identifier
979 if (Tok.isNot(tok::identifier)) {
1030 // We have an identifier; check whether it is actually a type.
1042 // Consume the identifier.
1082 case tok::identifier: // struct foo {...} V ;
1159 /// class-key identifier[opt] base-clause[opt]
1160 /// class-key nested-name-specifier identifier base-clause[opt]
1163 /// [GNU] class-key attributes[opt] identifier[opt] base-clause[opt]
1165 /// identifier base-clause[opt]
1174 /// class-key ::[opt] nested-name-specifier[opt] identifier
1182 /// struct-or-union identifier[opt] '{' struct-contents '}'
1183 /// struct-or-union identifier
1184 /// [GNU] struct-or-union attributes[opt] identifier[opt] '{' struct-contents
1186 /// [GNU] struct-or-union attributes[opt] identifier
1253 Tok.isNot(tok::identifier) &&
1308 // X", make X into a normal identifier rather than a keyword, to
1326 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::annot_template_id)) {
1327 Diag(Tok, diag::err_expected) << tok::identifier;
1340 if (Tok.is(tok::identifier)) {
1948 if (!getLangOpts().CPlusPlus || Tok.isNot(tok::identifier))
2036 // identifier[opt] ':' constant-expression
2044 "don't know where identifier would go yet?");
2180 /// identifier[opt] ':' constant-expression
2223 (Tok.is(tok::identifier) || Tok.is(tok::coloncolon) ||
2231 else if (NextToken().is(tok::identifier))
2703 if (getLangOpts().CPlusPlus && Tok.is(tok::identifier)) {
2813 if (getLangOpts().CPlusPlus && Tok.is(tok::identifier)) {
2871 case tok::identifier:
3130 else if (Tok.is(tok::identifier) || Tok.is(tok::coloncolon)) {
3158 /// identifier
3175 if (!TemplateTypeTy && Tok.isNot(tok::identifier)
3188 if (Tok.is(tok::identifier))
3189 // Get the identifier. This may be a member name or a class name,
3498 /// \brief Try to parse an 'identifier' which appears within an attribute-token.
3500 /// \return the parsed identifier on success, and 0 if the next token is not an
3505 /// requirements of an identifier is contained in an attribute-token,
3506 /// it is considered an identifier.
3510 // Identifiers and keywords have identifier info attached.
3530 // Alternative tokens do not have identifier info, but their spelling
3642 /// identifier
3646 /// attribute-namespace '::' identifier
3649 /// identifier
3688 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier;