Lines Matching defs:identifier

885 /* Make a declarator for a generalized identifier.  If
886 QUALIFYING_SCOPE is non-NULL, the identifier is
2192 /* Try to lookup the identifier. */
2252 but the identifier does not resolve to a valid type name. */
2271 form `ID a', where `ID' is an id-expression and `a' is a plain identifier.
2288 /* After the id-expression, there should be a plain identifier,
2586 an unresolved identifier node, we can provide a superior diagnostic
2715 /* Parse an identifier. Returns an IDENTIFIER_NODE representing the
2716 identifier. */
2723 /* Look for the identifier. */
2724 token = cp_parser_require (parser, CPP_NAME, "identifier");
3148 /* An id-expression can start with either an identifier, a
3284 :: identifier
3289 identifier. Sets PARSER->SCOPE to the qualifying scope if there is
3378 /* If it's an identifier, and the next token is not a "<", then
3425 identifier
3434 Returns a representation of unqualified-id. For the `identifier'
3472 /* Otherwise, it's an ordinary identifier. */
3650 identifier in the declarator for a destructor declaration. */
3775 /* If the next token is not an identifier, then it is
3838 /* If the next token is an identifier, and the one after
4040 /* If we are not looking at an identifier followed by the scope
4060 typename :: [opt] nested-name-specifier identifier
4624 /* The identifier following the `->' or `.' is not qualified. */
4766 identifier
4767 identifier, expression-list
4789 tree identifier = NULL_TREE;
4805 next token is an identifier. */
4811 /* Consume the identifier. */
4813 /* Save the identifier. */
4814 identifier = token->u.value;
4876 if (identifier)
4877 expression_list = tree_cons (NULL_TREE, identifier, expression_list);
4984 && identifier
5101 tree identifier;
5105 /* Look for the identifier. */
5106 identifier = cp_parser_identifier (parser);
5108 return finish_label_address_expr (identifier);
6191 /* offsetof-member-designator "." identifier */
6382 identifier :
6398 /* The next token should be an identifier. */
6972 goto identifier ;
7924 /* Transform the literal into an identifier. If the literal is a
8221 identifier
8278 /* Otherwise, we could also be looking for an ordinary identifier. */
8291 /* Otherwise, look for an ordinary identifier. */
8303 human-readable spelling of the identifier, e.g., `operator +'. */
8328 human-readable spelling of the identifier, e.g., `operator +'. */
8539 /* If we have selected an identifier, we need to consume the
8672 the identifier -- if it is a `,', `=', or `>' then we have a type
8678 /* If it's an identifier, skip it. */
8713 class identifier [opt]
8714 class identifier [opt] = type-id
8715 typename identifier [opt]
8716 typename identifier [opt] = type-id
8717 template < template-parameter-list > class identifier [opt]
8718 template < template-parameter-list > class identifier [opt]
8742 tree identifier;
8745 /* If the next token is an identifier, then it names the
8748 identifier = cp_parser_identifier (parser);
8750 identifier = NULL_TREE;
8753 parameter = finish_template_type_parm (class_type_node, identifier);
8777 tree identifier;
8796 identifier = cp_parser_identifier (parser);
8798 if (identifier == error_mark_node)
8799 identifier = NULL_TREE;
8802 identifier = NULL_TREE;
8806 identifier);
9067 identifier
9072 identifier
9108 tree identifier;
9120 identifier = cp_parser_operator_function_id (parser);
9128 /* Look for the identifier. */
9130 identifier = cp_parser_identifier (parser);
9132 /* If we didn't find an identifier, we don't have a template-id. */
9133 if (identifier == error_mark_node)
9165 && !constructor_name_p (identifier, parser->scope))
9170 error ("non-template %qD used as template", identifier);
9172 parser->scope, identifier);
9194 return identifier;
9205 return identifier;
9209 decl = cp_parser_lookup_name (parser, identifier,
9249 return identifier;
10135 identifier
10138 identifier
10146 tree identifier;
10162 identifier = cp_parser_identifier (parser);
10163 if (identifier == error_mark_node)
10167 type_decl = cp_parser_lookup_name_simple (parser, identifier);
10170 && (objc_is_id (identifier) || objc_is_class_name (identifier)))
10174 tree type = objc_get_protocol_qualified_type (identifier, protos);
10183 cp_parser_name_lookup_error (parser, identifier, type_decl,
10193 maybe_note_name_used_in_class (identifier, type_decl);
10204 class-key :: [opt] nested-name-specifier [opt] identifier
10206 enum :: [opt] nested-name-specifier [opt] identifier
10207 typename :: [opt] nested-name-specifier identifier
10214 class-key attributes :: [opt] nested-name-specifier [opt] identifier
10217 enum attributes :: [opt] nested-name-specifier [opt] identifier
10232 tree identifier;
10291 For an enumeration type, consider only a plain identifier. */
10308 identifier. */
10325 identifier = cp_parser_identifier (parser);
10327 if (identifier == error_mark_node)
10337 identifier);
10344 decl = cp_parser_lookup_name (parser, identifier,
10385 identifier);
10429 A declaration consisting solely of `class-key identifier ;' is
10431 forward declaration of the identifier as a class name. It
10456 /* This is a `class-key identifier ;' */
10470 type = xref_tag (tag_type, identifier, ts, template_p);
10507 enum identifier [opt] { enumerator-list [opt] }
10510 enum attributes[opt] identifier [opt] { enumerator-list [opt] }
10519 tree identifier;
10527 /* Caller guarantees that the current token is 'enum', an identifier
10529 If we don't have an identifier, fabricate an anonymous name for
10536 identifier = cp_parser_identifier (parser);
10538 identifier = make_anon_name ();
10554 type = start_enum (identifier);
10627 identifier */
10632 tree identifier;
10635 /* Look for the identifier. */
10636 identifier = cp_parser_identifier (parser);
10637 if (identifier == error_mark_node)
10654 build_enumerator (identifier, value, type);
10668 tree identifier;
10672 identifier = cp_parser_identifier (parser);
10673 if (identifier == error_mark_node)
10676 /* Look up the identifier in the currently active scope. Look only
10694 namespace_decl = cp_parser_lookup_name (parser, identifier,
10705 error ("%qD is not a namespace-name", identifier);
10724 namespace identifier { namespace-body }
10735 tree identifier, attribs;
10745 identifier = cp_parser_identifier (parser);
10747 identifier = NULL_TREE;
10755 push_namespace_with_attribs (identifier, attribs);
10778 namespace identifier = qualified-namespace-specifier ; */
10783 tree identifier;
10788 /* Look for the identifier. */
10789 identifier = cp_parser_identifier (parser);
10790 if (identifier == error_mark_node)
10801 do_namespace_alias (identifier, namespace_specifier);
10849 tree identifier;
10902 identifier = cp_parser_unqualified_id (parser,
10918 if (qscope == error_mark_node || identifier == error_mark_node)
10920 else if (TREE_CODE (identifier) != IDENTIFIER_NODE
10921 && TREE_CODE (identifier) != BIT_NOT_EXPR)
10931 decl = do_class_using_decl (parser->scope, identifier);
10937 decl = cp_parser_lookup_name_simple (parser, identifier);
10939 cp_parser_name_lookup_error (parser, identifier, decl, NULL);
10941 do_local_using_decl (decl, qscope, identifier);
10943 do_toplevel_using_decl (decl, qscope, identifier);
12933 identifier : initializer-clause
12934 initializer-list, identifier : initializer-clause
12953 tree identifier;
12957 /* If the next token is an identifier and the following one is a
12967 /* Consume the identifier. */
12968 identifier = cp_lexer_consume_token (parser->lexer)->u.value;
12973 identifier = NULL_TREE;
12983 CONSTRUCTOR_APPEND_ELT(v, identifier, initializer);
13010 identifier
13038 /* All class-names start with an identifier. */
13056 /* Handle the common case (an identifier, but not a template-id)
13062 tree identifier;
13065 /* Look for the identifier. */
13068 identifier = cp_parser_identifier (parser);
13069 /* If the next token isn't an identifier, we are certainly not
13071 if (identifier == error_mark_node)
13076 decl = identifier;
13099 decl = cp_parser_lookup_name (parser, identifier,
13107 error ("reference to %qD is ambiguous", identifier);
13357 class-key identifier [opt] base-clause [opt]
13358 class-key nested-name-specifier identifier base-clause [opt]
13363 class-key attributes identifier [opt] base-clause [opt]
13364 class-key attributes nested-name-specifier identifier base-clause [opt]
13433 identifier. */
13436 /* Although the grammar says `identifier', it really means
13492 /* Otherwise, the identifier is optional. */
13496 an identifier, or nothing at all. */
13503 /* If that didn't work, it could still be an identifier. */
13809 identifier [opt] : constant-expression
13819 identifier [opt] attributes [opt] : constant-expression */
13993 tree identifier;
14000 identifier = cp_parser_identifier (parser);
14002 identifier = NULL_TREE;
14021 decl = grokbitfield (identifier
14023 identifier,
14905 identifier
14906 identifier ( identifier )
14907 identifier ( identifier , expression-list )
14908 identifier ( expression-list )
14911 to an attribute. The TREE_PURPOSE of each node is the identifier
14925 tree identifier;
14928 /* Look for the identifier. We also allow keywords here; for
14939 /* Save away the identifier that indicates which attribute
14941 identifier = token->u.value;
14942 attribute = build_tree_list (identifier, NULL_TREE);
15011 identifier , label-declarator-seq
15012 identifier */
15022 tree identifier;
15024 /* Look for an identifier. */
15025 identifier = cp_parser_identifier (parser);
15027 if (identifier == error_mark_node)
15030 finish_label_decl (identifier);
15142 /* By this point, the NAME should be an ordinary identifier. If
15715 /* Look for the identifier that indicates what value is to be
17254 @protocol ( identifier )
17348 objc-identifier-list:
17349 identifier
17350 objc-identifier-list , identifier
17352 Returns a TREE_LIST of identifier nodes. */
17375 @compatibility_alias identifier identifier ;
17395 @class objc-identifier-list ;
17414 < objc-identifier-list >
17577 tree selector = NULL_TREE, typename, identifier;
17590 identifier = cp_parser_identifier (parser);
17596 identifier));
17875 error ("identifier expected after %<@protocol%>");
18254 identifier
18255 variable-list , identifier