Searched refs:declarator (Results 1 - 15 of 15) sorted by relevance

/freebsd-9.3-release/contrib/gcc/cp/
H A Dfriend.c407 do_friend (tree ctype, tree declarator, tree decl, argument
417 if (TREE_CODE (declarator) == TEMPLATE_ID_EXPR)
419 declarator = TREE_OPERAND (declarator, 0);
420 if (is_overloaded_fn (declarator))
421 declarator = DECL_NAME (get_first_fn (declarator));
455 if (flags == NO_SPECIAL && declarator == cname)
H A Dparser.c854 /* An erroneous declarator. */
861 /* Alloc BYTES from the declarator memory pool. */
869 /* Allocate a declarator of the indicated KIND. Clear fields that are
875 cp_declarator *declarator;
877 declarator = (cp_declarator *) alloc_declarator (sizeof (cp_declarator));
878 declarator->kind = kind;
879 declarator->attributes = NULL_TREE;
880 declarator->declarator = NULL;
882 return declarator;
873 cp_declarator *declarator; local
893 cp_declarator *declarator; local
927 cp_declarator *declarator; local
942 cp_declarator *declarator; local
959 cp_declarator *declarator; local
980 cp_declarator *declarator; local
997 cp_declarator *declarator; local
1012 make_parameter_declarator(cp_decl_specifier_seq *decl_specifiers, cp_declarator *declarator, tree default_argument) argument
1035 function_declarator_p(const cp_declarator *declarator) argument
2106 cp_parser_check_for_definition_in_return_type(cp_declarator *declarator, tree type) argument
5301 cp_declarator *declarator; local
5385 cp_declarator *declarator; local
5419 cp_declarator *declarator = NULL; local
6721 cp_declarator *declarator; local
8035 cp_declarator *declarator; local
8077 cp_declarator *declarator; local
9613 cp_declarator *declarator; local
11175 cp_declarator *declarator; local
11509 cp_declarator *declarator; local
11617 cp_declarator *declarator = NULL; local
12537 cp_declarator *declarator; local
14031 cp_declarator *declarator; local
14638 cp_declarator *declarator; local
15346 cp_parser_check_declarator_template_parameters(cp_parser* parser, cp_declarator *declarator) argument
15643 cp_parser_function_definition_from_specifiers_and_declarator(cp_parser* parser, cp_decl_specifier_seq *decl_specifiers, tree attributes, const cp_declarator *declarator) argument
16053 cp_parser_save_member_function_body(cp_parser* parser, cp_decl_specifier_seq *decl_specifiers, cp_declarator *declarator, tree attributes) argument
17778 cp_declarator *declarator = NULL; local
18932 cp_declarator *declarator; local
[all...]
H A Ddecl.c1294 bearing on this declarator. */
3665 /* Make sure that a declaration with no declarator is well-formed, i.e.
3706 /* 7/3 In a simple-declaration, the optional init-declarator-list
3797 because there is no declarator after the union, the parser
3805 tree decl = grokdeclarator (/*declarator=*/NULL,
3819 const cp_declarator *declarator)
3825 type = grokdeclarator (declarator, type_specifiers, TYPENAME, 0, &attrs);
3831 /* Decode a declarator in an ordinary declaration or data definition.
3847 start_decl (const cp_declarator *declarator,
3894 decl = grokdeclarator (declarator, declspec
3807 groktypename(cp_decl_specifier_seq *type_specifiers, const cp_declarator *declarator) argument
3836 start_decl(const cp_declarator *declarator, cp_decl_specifier_seq *declspecs, int initialized, tree attributes, tree prefix_attributes, tree *pushed_scope_p) argument
6066 grokfndecl(tree ctype, tree type, tree declarator, tree parms, tree orig_declarator, int virtualp, enum overload_flags flags, cp_cv_quals quals, tree raises, int check, int friendp, int publicp, int inlinep, special_function_kind sfk, bool funcdef_flag, int template_count, tree in_namespace, tree* attrlist) argument
6809 get_scope_of_declarator(const cp_declarator *declarator) argument
7027 grokdeclarator(const cp_declarator *declarator, const cp_decl_specifier_seq *declspecs, enum decl_context decl_context, int initialized, tree* attrlist) argument
10926 start_function(cp_decl_specifier_seq *declspecs, const cp_declarator *declarator, tree attrs) argument
11492 start_method(cp_decl_specifier_seq *declspecs, const cp_declarator *declarator, tree attrlist) argument
[all...]
H A Ddecl2.c758 grokfield (const cp_declarator *declarator,
774 value = grokdeclarator (declarator, declspecs, FIELD, init != 0, &attrlist);
933 grokbitfield (const cp_declarator *declarator,
936 tree value = grokdeclarator (declarator, declspecs, BITFIELD, 0, NULL);
757 grokfield(const cp_declarator *declarator, cp_decl_specifier_seq *declspecs, tree init, bool init_const_expr_p, tree asmspec_tree, tree attrlist) argument
932 grokbitfield(const cp_declarator *declarator, cp_decl_specifier_seq *declspecs, tree width) argument
H A Dpt.c1818 check_explicit_specialization (tree declarator, argument
1850 else if (TREE_CODE (declarator) == TEMPLATE_ID_EXPR)
1864 declarator);
1908 if (TREE_CODE (declarator) == TEMPLATE_ID_EXPR)
1913 if (uses_template_parms (declarator))
1915 "is not allowed", declarator);
1918 declarator);
1956 /* Make sure that the declarator is a TEMPLATE_ID_EXPR. */
1957 if (TREE_CODE (declarator) != TEMPLATE_ID_EXPR)
1961 gcc_assert (TREE_CODE (declarator)
[all...]
H A Dcxx-pretty-print.c112 type-specifier-seq conversion-declarator(opt)
114 conversion-declarator:
115 ptr-operator conversion-declarator(opt) */
547 type-specifier-seq new-declarator(opt)
549 new-declarator:
550 ptr-operator new-declarator(opt)
551 direct-new-declarator
553 direct-new-declarator
555 direct-new-declarator [ constant-expression ]
1197 decl-specifier-seq declarator
[all...]
H A Dcp-tree.h709 /* Parsing a function declarator leaves a list of parameter names
3719 /* A declarator. */
3731 /* The declarator for the parameter. */
3732 cp_declarator *declarator;
3740 /* A declarator. */
3742 /* The kind of declarator. */
3744 /* Attributes that apply to this declarator. */
3746 /* For all but cdk_id and cdk_error, the contained declarator. For
3748 cp_declarator *declarator;
3723 cp_declarator *declarator; member in struct:cp_parameter_declarator
3739 cp_declarator *declarator; member in struct:cp_declarator
/freebsd-9.3-release/contrib/gcc/
H A Dc-decl.c2883 parameter declarator. In that case we still don't have
3113 /* Construct an array declarator. EXPR is the expression inside [],
3119 field for the contained declarator is left to be filled in by
3126 struct c_declarator *declarator = XOBNEW (&parser_obstack,
3128 declarator->kind = cdk_array;
3129 declarator->declarator = 0;
3130 declarator->u.array.dimen = expr;
3133 declarator->u.array.attrs = quals->attrs;
3134 declarator
3110 struct c_declarator *declarator = XOBNEW (&parser_obstack, local
3230 start_decl(struct c_declarator *declarator, struct c_declspecs *declspecs, bool initialized, tree attributes) argument
4059 grokdeclarator(const struct c_declarator *declarator, struct c_declspecs *declspecs, enum decl_context decl_context, bool initialized, tree *width) argument
5496 grokfield(struct c_declarator *declarator, struct c_declspecs *declspecs, tree width) argument
6157 start_function(struct c_declspecs *declspecs, struct c_declarator *declarator, tree attributes) argument
7218 build_c_parm(struct c_declspecs *specs, tree attrs, struct c_declarator *declarator) argument
[all...]
H A Dc-pretty-print.h68 c_pretty_print_fn declarator; member in struct:c_pretty_print_info
112 pp_c_base (PPI)->declarator (pp_c_base (PPI), D)
H A Dc-tree.h301 /* Parenthesized declarator with nested attributes. */
305 /* Information about the parameters in a function declarator. */
325 /* A declarator. */
327 /* The kind of declarator. */
329 /* Except for cdk_id, the contained declarator. For cdk_id, NULL. */
330 struct c_declarator *declarator; member in struct:c_declarator
334 declarator. */
362 /* The declarator. */
363 struct c_declarator *declarator; member in struct:c_type_name
372 /* The declarator
373 struct c_declarator *declarator; member in struct:c_parm
[all...]
H A Dc-parser.c964 /* Possibly kinds of declarator to parse. */
966 /* A normal declarator with an identifier. */
968 /* An abstract declarator (maybe empty). */
970 /* A parameter declarator: may be either, but after a type name does
1193 the first declarator. */
1214 declaration-specifiers init-declarator-list[opt] ;
1217 declaration-specifiers[opt] declarator declaration-list[opt]
1224 init-declarator-list:
1225 init-declarator
1226 init-declarator
1296 struct c_declarator *declarator; local
2055 struct c_declarator *declarator; local
2417 struct c_declarator *declarator; local
2695 struct c_declarator *declarator; local
2979 struct c_declarator *declarator; local
[all...]
H A Dc-pretty-print.c455 declaration-specifiers declarator
456 declaration-specifiers abstract-declarator(opt) */
485 /* abstract-declarator:
487 pointer(opt) direct-abstract-declarator */
503 /* direct-abstract-declarator:
504 ( abstract-declarator )
505 direct-abstract-declarator(opt) [ assignment-expression(opt) ]
506 direct-abstract-declarator(opt) [ * ]
507 direct-abstract-declarator(opt) ( parameter-type-list(opt) ) */
560 specifier-qualifier-list abstract-declarator(op
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp47 /// isOmittedBlockReturnType - Return true if this declarator is missing a
131 /// The declarator being processed.
132 Declarator &declarator; member in class:__anon3335::TypeProcessingState
134 /// The index of the declarator chunk we're currently processing.
153 TypeProcessingState(Sema &sema, Declarator &declarator) argument
154 : sema(sema), declarator(declarator),
155 chunkIndex(declarator.getNumTypeObjects()),
163 return declarator;
167 return chunkIndex == declarator
311 maybeMovePastReturnType(Declarator &declarator, unsigned i) argument
373 Declarator &declarator = state.getDeclarator(); local
427 Declarator &declarator = state.getDeclarator(); local
488 Declarator &declarator = state.getDeclarator(); local
521 Declarator &declarator = state.getDeclarator(); local
569 Declarator &declarator = state.getDeclarator(); local
634 Declarator &declarator = state.getDeclarator(); local
702 Declarator &declarator = state.getDeclarator(); local
1869 Declarator &declarator = state.getDeclarator(); local
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_grammar.y165 %type <l_decl> declarator
240 DT_KEY_INLINE declaration_specifiers declarator
681 declarator {
706 declarator { dt_decl_member(NULL); }
708 | declarator DT_TOK_COLON constant_expression {
736 declarator: direct_declarator label
742 | lparen declarator DT_TOK_RPAR { $$ = $2; }
779 | parameter_declaration_specifiers declarator {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseObjc.cpp343 // Install the property declarator into interfaceDecl.
863 // destroying the internal invariants of the declarator here,
872 /// declarator and add them to the given list.
911 // Parse an abstract declarator.
916 Declarator declarator(declSpec, context);
917 ParseDeclarator(declarator);
920 if (!declarator.isInvalidType()) {
921 TypeResult type = Actions.ActOnTypeName(getCurScope(), declarator);
928 takeDeclAttributes(*paramAttrs, declarator);
1145 // Parse the declarator
[all...]

Completed in 197 milliseconds