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

Lines Matching refs:identifier

128 ///   identifier objc-type-parameter-list[opt]
132 ConsumeToken(); // the identifier "class"
190 /// '@' 'interface' identifier objc-type-parameter-list[opt]
197 /// '@' 'interface' identifier objc-type-parameter-list[opt]
198 /// '(' identifier[opt] ')' objc-protocol-refs[opt]
203 /// ':' identifier objc-type-arguments[opt]
218 ConsumeToken(); // the "interface" identifier
262 if (Tok.is(tok::identifier)) {
268 << tok::identifier; // missing category name.
405 /// objc-type-parameter-variance? identifier objc-type-parameter-bound[opt]
469 // Parse the identifier.
470 if (!Tok.is(tok::identifier)) {
507 // If this could still be a protocol list, just capture the identifier.
687 // Eat the identifier.
784 ConsumeToken(); // the "end" identifier
824 /// getter '=' identifier
825 /// setter '=' identifier ':'
855 // If this is not an identifier at all, bail out early.
1000 /// identifier
1030 Tok.setKind(tok::identifier);
1037 case tok::identifier:
1117 // valid tokens following an 'in'; such as an identifier, unary operators,
1119 return (getLangOpts().ObjC && Tok.is(tok::identifier) &&
1154 if (Tok.isNot(tok::identifier))
1314 /// objc-selector ':' objc-type-name objc-keyword-attributes[opt] identifier
1315 /// objc-selector ':' objc-keyword-attributes[opt] identifier
1316 /// ':' objc-type-name objc-keyword-attributes[opt] identifier
1317 /// ':' objc-keyword-attributes[opt] identifier
1437 ConsumeToken(); // Eat the identifier.
1519 /// '<' identifier-list '>'
1615 // Parse a single identifier.
1616 if (Tok.is(tok::identifier) &&
1647 // If we parsed an identifier list, semantic analysis sorts out
1672 // We parsed an identifier list but stumbled into non single identifiers, this
2006 /// \@protocol identifier
2012 /// \@protocol identifier-list ';'
2014 /// "\@protocol identifier ;" should be resolved as "\@protocol
2015 /// identifier-list ;": objc-interface-decl-list may not start with a
2022 ConsumeToken(); // the "protocol" identifier
2058 ConsumeToken(); // the identifier
2094 /// @implementation identifier objc-superclass[opt]
2098 /// @implementation identifier ( identifier )
2105 ConsumeToken(); // the "implementation" identifier
2152 if (Tok.is(tok::identifier)) {
2157 << tok::identifier; // missing category name.
2232 ConsumeToken(); // the "end" identifier
2307 /// identifier
2308 /// identifier '=' identifier
2322 if (Tok.isNot(tok::identifier)) {
2361 /// identifier
2362 /// property-list ',' identifier
2900 if (Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_typename,
2973 return GetLookAheadToken(1).is(tok::identifier) &&
2974 GetLookAheadToken(2).is(tok::identifier);
2978 if (!getLangOpts().ObjC || !NextToken().is(tok::identifier) ||
2986 else if (Tok.is(tok::identifier))
2996 if (Tok.is(tok::identifier))
3034 if (Tok.is(tok::identifier) && Tok.getIdentifierInfo() == Ident_super &&
3056 if (Tok.is(tok::identifier)) {
3278 Diag(Tok, diag::err_expected) << tok::identifier; // missing selector name.
3289 << (Tok.is(tok::identifier) ? tok::colon : tok::r_square);
3593 return ExprError(Diag(Tok, diag::err_expected) << tok::identifier);