/freebsd-11-stable/contrib/byacc/test/yacc/ |
H A D | grammar.tab.c | 193 /* This structure stores information about a declarator. */ 203 struct _Declarator *head; /* head function declarator */ 205 struct _Declarator *next; /* next declarator in list */ 212 Declarator *declarator; member in struct:parameter 218 Declarator *first; /* pointer to first declarator in list */ 219 Declarator *last; /* pointer to last declarator in list */ 236 Declarator *declarator; member in union:__anon222 301 extern void put_body (FILE *outf, DeclSpec *decl_spec, Declarator *declarator); 323 /* A parser semantic action sets this pointer to the current declarator in 327 * declarator [all...] |
/freebsd-11-stable/contrib/byacc/test/btyacc/ |
H A D | grammar.tab.c | 213 /* This structure stores information about a declarator. */ 223 struct _Declarator *head; /* head function declarator */ 225 struct _Declarator *next; /* next declarator in list */ 232 Declarator *declarator; member in struct:parameter 238 Declarator *first; /* pointer to first declarator in list */ 239 Declarator *last; /* pointer to last declarator in list */ 256 Declarator *declarator; member in union:__anon178 321 extern void put_body (FILE *outf, DeclSpec *decl_spec, Declarator *declarator); 343 /* A parser semantic action sets this pointer to the current declarator in 347 * declarator [all...] |
/freebsd-11-stable/contrib/byacc/test/ |
H A D | btyacc_demo.y | 61 %type <decl> declarator(<scope>, <type>) formal_arg(<scope>) 110 | decl_specs declarator($e,$1) block_statement(start_fn_def($e, $2)) 143 declarator_list ',' declarator($e, $t) 144 | declarator 147 declarator($e, $t): 151 | '(' declarator($e, $t) ')' { $$ = $2; } 152 | '*' cv_quals declarator($e, $t) %prec PREFIX 154 | declarator '[' expr($e) ']' 156 | declarator '(' formal_arg_list($e) ')' cv_quals 168 decl_specs declarator( [all...] |
H A D | grammar.y | 71 %type <declarator> init_declarator declarator direct_declarator 72 %type <declarator> abs_declarator direct_abs_declarator 163 /* This structure stores information about a declarator. */ 173 struct _Declarator *head; /* head function declarator */ 175 struct _Declarator *next; /* next declarator in list */ 182 Declarator *declarator; 188 Declarator *first; /* pointer to first declarator in list */ 189 Declarator *last; /* pointer to last declarator in list */ 206 Declarator *declarator; [all...] |
/freebsd-11-stable/contrib/gcc/cp/ |
H A D | friend.c | 407 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 D | parser.c | 856 /* An erroneous declarator. */ 863 /* Alloc BYTES from the declarator memory pool. */ 871 /* Allocate a declarator of the indicated KIND. Clear fields that are 877 cp_declarator *declarator; 879 declarator = (cp_declarator *) alloc_declarator (sizeof (cp_declarator)); 880 declarator->kind = kind; 881 declarator->attributes = NULL_TREE; 882 declarator->declarator = NULL; 884 return declarator; 875 cp_declarator *declarator; local 895 cp_declarator *declarator; local 929 cp_declarator *declarator; local 944 cp_declarator *declarator; local 961 cp_declarator *declarator; local 982 cp_declarator *declarator; local 999 cp_declarator *declarator; local 1014 make_parameter_declarator(cp_decl_specifier_seq *decl_specifiers, cp_declarator *declarator, tree default_argument) argument 1037 function_declarator_p(const cp_declarator *declarator) argument 2140 cp_parser_check_for_definition_in_return_type(cp_declarator *declarator, tree type) argument 2510 cp_declarator *declarator local 5488 cp_declarator *declarator; local 5572 cp_declarator *declarator; local 5606 cp_declarator *declarator = NULL; local 6942 cp_declarator *declarator; local 7021 cp_declarator *declarator; local 8369 cp_declarator *declarator; local 8411 cp_declarator *declarator; local 9947 cp_declarator *declarator; local 11509 cp_declarator *declarator; local 11880 cp_declarator *declarator; local 12021 cp_declarator *declarator = NULL; local 12955 cp_declarator *declarator; local 14450 cp_declarator *declarator; local 15059 cp_declarator *declarator; local 15767 cp_parser_check_declarator_template_parameters(cp_parser* parser, cp_declarator *declarator) argument 16066 cp_parser_function_definition_from_specifiers_and_declarator(cp_parser* parser, cp_decl_specifier_seq *decl_specifiers, tree attributes, const cp_declarator *declarator) argument 16476 cp_parser_save_member_function_body(cp_parser* parser, cp_decl_specifier_seq *decl_specifiers, cp_declarator *declarator, tree attributes) argument 18295 cp_declarator *declarator = NULL; local 19682 cp_declarator *declarator; local 21225 cp_declarator *declarator; local [all...] |
H A D | decl.c | 1295 bearing on this declarator. */ 3666 /* Make sure that a declaration with no declarator is well-formed, i.e. 3707 /* 7/3 In a simple-declaration, the optional init-declarator-list 3798 because there is no declarator after the union, the parser 3806 tree decl = grokdeclarator (/*declarator=*/NULL, 3820 const cp_declarator *declarator) 3827 decl = grokdeclarator (declarator, type_specifiers, BLOCKDEF, 0, &attrs); argument 3838 const cp_declarator *declarator) 3844 type = grokdeclarator (declarator, type_specifiers, TYPENAME, 0, &attrs); 3850 /* Decode a declarator i 3809 grokblockdecl(cp_decl_specifier_seq *type_specifiers, const cp_declarator *declarator) argument 3856 start_decl(const cp_declarator *declarator, cp_decl_specifier_seq *declspecs, int initialized, tree attributes, tree prefix_attributes, tree *pushed_scope_p) argument 6473 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 7216 get_scope_of_declarator(const cp_declarator *declarator) argument 7434 grokdeclarator(const cp_declarator *declarator, const cp_decl_specifier_seq *declspecs, enum decl_context decl_context, int initialized, tree* attrlist) argument 11471 start_function(cp_decl_specifier_seq *declspecs, const cp_declarator *declarator, tree attrs) argument 12044 start_method(cp_decl_specifier_seq *declspecs, const cp_declarator *declarator, tree attrlist) argument [all...] |
H A D | decl2.c | 758 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 D | pt.c | 1818 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 D | cxx-pretty-print.c | 112 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 D | cp-tree.h | 709 /* Parsing a function declarator leaves a list of parameter names 3746 /* A declarator. */ 3758 /* The declarator for the parameter. */ 3759 cp_declarator *declarator; 3767 /* A declarator. */ 3769 /* The kind of declarator. */ 3771 /* Attributes that apply to this declarator. */ 3773 /* For all but cdk_id and cdk_error, the contained declarator. For 3775 cp_declarator *declarator; 3750 cp_declarator *declarator; member in struct:cp_parameter_declarator 3766 cp_declarator *declarator; member in struct:cp_declarator
|
/freebsd-11-stable/contrib/gcc/ |
H A D | c-decl.c | 2885 parameter declarator. In that case we still don't have 3115 /* Construct an array declarator. EXPR is the expression inside [], 3121 field for the contained declarator is left to be filled in by 3128 struct c_declarator *declarator = XOBNEW (&parser_obstack, 3130 declarator->kind = cdk_array; 3131 declarator->declarator = 0; 3132 declarator->u.array.dimen = expr; 3135 declarator->u.array.attrs = quals->attrs; 3136 declarator 3112 struct c_declarator *declarator = XOBNEW (&parser_obstack, local 3195 grokblockdecl(struct c_declspecs *specs, struct c_declarator *declarator) argument 3247 start_decl(struct c_declarator *declarator, struct c_declspecs *declspecs, bool initialized, tree attributes) argument 4431 grokdeclarator(const struct c_declarator *declarator, struct c_declspecs *declspecs, enum decl_context decl_context, bool initialized, tree *width) argument 5929 grokfield(struct c_declarator *declarator, struct c_declspecs *declspecs, tree width) argument 6590 start_function(struct c_declspecs *declspecs, struct c_declarator *declarator, tree attributes) argument 7661 build_c_parm(struct c_declspecs *specs, tree attrs, struct c_declarator *declarator) argument [all...] |
H A D | c-pretty-print.h | 68 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 D | c-tree.h | 303 /* Parenthesized declarator with nested attributes. */ 307 /* Information about the parameters in a function declarator. */ 327 /* A declarator. */ 329 /* The kind of declarator. */ 331 /* Except for cdk_id, the contained declarator. For cdk_id, NULL. */ 332 struct c_declarator *declarator; member in struct:c_declarator 336 declarator. */ 364 /* The declarator. */ 365 struct c_declarator *declarator; member in struct:c_type_name 374 /* The declarator 375 struct c_declarator *declarator; member in struct:c_parm [all...] |
H A D | c-parser.c | 1026 /* Possibly kinds of declarator to parse. */ 1028 /* A normal declarator with an identifier. */ 1030 /* An abstract declarator (maybe empty). */ 1033 /* A block declarator (maybe empty). */ 1036 /* A parameter declarator: may be either, but after a type name does 1276 the first declarator. */ 1298 declaration-specifiers init-declarator-list[opt] ; 1301 declaration-specifiers[opt] declarator declaration-list[opt] 1308 init-declarator-list: 1309 init-declarator 1404 struct c_declarator *declarator; local 2204 struct c_declarator *declarator; local 2596 struct c_declarator *declarator; local 2874 struct c_declarator *declarator; local 3158 struct c_declarator *declarator; local 9172 struct c_declarator *declarator; local [all...] |
H A D | c-pretty-print.c | 472 declaration-specifiers declarator 473 declaration-specifiers abstract-declarator(opt) */ 502 /* abstract-declarator: 504 pointer(opt) direct-abstract-declarator */ 523 /* direct-abstract-declarator: 524 ( abstract-declarator ) 525 direct-abstract-declarator(opt) [ assignment-expression(opt) ] 526 direct-abstract-declarator(opt) [ * ] 527 direct-abstract-declarator(opt) ( parameter-type-list(opt) ) */ 582 specifier-qualifier-list abstract-declarator(op [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaType.cpp | 49 /// isOmittedBlockReturnType - Return true if this declarator is missing a 156 /// The declarator being processed. 157 Declarator &declarator; member in class:__anon695::TypeProcessingState 159 /// The index of the declarator chunk we're currently processing. 196 TypeProcessingState(Sema &sema, Declarator &declarator) argument 197 : sema(sema), declarator(declarator), 198 chunkIndex(declarator.getNumTypeObjects()), trivial(true), 206 return declarator; 210 return chunkIndex == declarator 391 maybeMovePastReturnType(Declarator &declarator, unsigned i, bool onlyBlockPointers) argument 461 Declarator &declarator = state.getDeclarator(); local 517 Declarator &declarator = state.getDeclarator(); local 578 Declarator &declarator = state.getDeclarator(); local 610 Declarator &declarator = state.getDeclarator(); local 655 Declarator &declarator = state.getDeclarator(); local 722 Declarator &declarator = state.getDeclarator(); local 804 checkOmittedBlockReturnType(Sema &S, Declarator &declarator, QualType Result) argument 1287 Declarator &declarator = state.getDeclarator(); local 2743 Declarator &declarator = state.getDeclarator(); local 3748 classifyPointerDeclarator(Sema &S, QualType type, Declarator &declarator, PointerWrappingDeclaratorKind &wrappingKind) argument 6914 Declarator &declarator = state.getDeclarator(); local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_grammar.y | 168 %type <l_decl> declarator 245 DT_KEY_INLINE declaration_specifiers declarator 697 declarator { 722 declarator { dt_decl_member(NULL); } 724 | declarator DT_TOK_COLON constant_expression { 752 declarator: direct_declarator label 758 | lparen declarator DT_TOK_RPAR { $$ = $2; } 795 | parameter_declaration_specifiers declarator {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseObjc.cpp | 370 /// declarator. 384 // Add the attribute to the declarator chunk nearest the declarator. 748 // Install the property declarator into interfaceDecl. 1218 /// declarator and add them to the given list. 1257 // Parse an abstract declarator. 1264 Declarator declarator(declSpec, context); 1265 ParseDeclarator(declarator); 1268 if (!declarator.isInvalidType()) { 1272 addContextSensitiveTypeNullability(*this, declarator, [all...] |