• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/

Lines Matching refs:identifier

450     // as an identifier in ParseObjCMessageExpressionBody. i.e., we support:
753 /// [C++11] 'sizeof' '...' '(' identifier ')'
758 /// [GNU] '&&' identifier
768 /// [C99] identifier
798 /// [OBJC] '\@protocol' '(' identifier ')'
820 /// enumeration-constant -> identifier
828 /// identifier
1052 case tok::identifier: { // primary-expression: identifier
1053 // unqualified-id: identifier
1062 // If this identifier was reverted from a token ID, and the next token
1066 Tok.is(tok::identifier) &&
1150 if (!Tok.is(tok::identifier))
1158 // Consume the identifier so that we can see if it is followed by a '(' or
1176 // Allow either an identifier or the keyword 'class' (in C++).
1177 if (Tok.isNot(tok::identifier) &&
1190 // In an Objective-C method, if we have "super" followed by an identifier,
1192 // that identifier, this is probably a message send with a missing open
1196 ((Tok.is(tok::identifier) &&
1204 // If we have an Objective-C class name followed by an identifier
1210 ((Tok.is(tok::identifier) && !InMessageExpression) ||
1244 // need to know whether or not this identifier is a function designator or
1439 case tok::ampamp: { // unary-expression: '&&' identifier
1443 if (Tok.isNot(tok::identifier))
1444 return ExprError(Diag(Tok, diag::err_expected) << tok::identifier);
1846 /// postfix-expression '.' identifier
1847 /// postfix-expression '->' identifier
1876 case tok::identifier:
1877 // If we see identifier: after an expression, and we're not already in a
2183 // 'class' as if it were an identifier.
2378 /// [C++11] 'sizeof' '...' '(' identifier ')'
2392 // [C++11] 'sizeof' '...' '(' identifier ')'
2402 if (Tok.is(tok::identifier)) {
2413 } else if (Tok.is(tok::identifier)) {
2500 /// [GNU] identifier
2501 /// [GNU] offsetof-member-designator '.' identifier
2509 SourceLocation StartLoc = ConsumeToken(); // Eat the builtin identifier.
2557 // We must have at least one identifier here.
2558 if (Tok.isNot(tok::identifier)) {
2559 Diag(Tok, diag::err_expected) << tok::identifier;
2575 // offsetof-member-designator: offsetof-member-designator '.' identifier
2580 if (Tok.isNot(tok::identifier)) {
2581 Diag(Tok, diag::err_expected) << tok::identifier;
2942 // If our type is followed by an identifier and either ':' or ']', then
2945 if (!DeclaratorInfo.isInvalidType() && Tok.is(tok::identifier) &&
3032 if (Tok.is(tok::identifier) && getLangOpts().ObjC &&
3513 // Parse the pieces after the identifier as if we had "int(...)".
3634 /// identifier version-tuple
3645 if (Tok.isNot(tok::identifier)) {