Home
last modified time | relevance | path

Searched refs:declarator (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.output23 12 decl : decl_specs declarator $$3 block_statement
44 26 declarator_list : declarator_list ',' $$4 $$5 declarator
45 27 | declarator
47 28 declarator :
54 32 declarator : '(' $$6 $$7 declarator ')'
55 33 | '*' cv_quals $$4 $$5 declarator
56 34 | declarator '[' $$4 expr ']'
57 35 | declarator '(' $$4 formal_arg_list ')' cv_quals
65 40 formal_arg : decl_specs declarator
203 decl : decl_specs . declarator $$3 block_statement (12)
[all …]
H A Dgrammar.tab.c233 Declarator *declarator; member
257 Declarator *declarator; member
322 extern void put_body (FILE *outf, DeclSpec *decl_spec, Declarator *declarator);
401 if (p->declarator->func_def == FUNC_ANSI) { in haveAnsiParam()
2119 if (strcmp(yystack.l_mark[0].declarator->text, yystack.l_mark[0].declarator->name) != 0) in YYPARSE_DECL()
2121 new_symbol(typedef_names, yystack.l_mark[0].declarator->name, NULL, flags); in YYPARSE_DECL()
2122 free_declarator(yystack.l_mark[0].declarator); in YYPARSE_DECL()
2131 if (strcmp(yystack.l_mark[0].declarator->text, yystack.l_mark[0].declarator->name) != 0) in YYPARSE_DECL()
2133 new_symbol(typedef_names, yystack.l_mark[0].declarator->name, NULL, flags); in YYPARSE_DECL()
2134 free_declarator(yystack.l_mark[0].declarator); in YYPARSE_DECL()
[all …]
H A Dgrammar.output35 23 declarator_list : declarator
36 24 | declarator_list ',' declarator
42 …27 function_definition : decl_specifiers declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCH…
46 29 function_definition : declarator $$4 opt_declaration_list T_LBRACE T_MATCHRBRACE
98 70 init_declarator : declarator
102 72 init_declarator : declarator '=' $$5 T_INITIALIZER
113 79 declarator : pointer direct_declarator
117 82 | '(' declarator ')'
137 96 parameter_declaration : decl_specifiers declarator
208 declarator goto 41
[all …]
H A Dgrammar.dot12declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l function_definition -> . declara…
14declarator -> . pointer direct_declarator\l declarator -> . direct_declarator\l direct_declarato…
46declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l decl_specifiers -> decl_specifie…
53 …EXTERN T_AUTO T_DEFINE_NAME T_TYPEDEF_NAME }\l function_definition -> declarator . $$4 opt_declar…
54 …q42 [label="42:\l declarator -> direct_declarator . { ')' '=' ',' ';' T_VA_DCL T_LBRACE T_TYPE_QU…
56 …EDEF_NAME\l declarator -> pointer . direct_declarator\l direct_declarator -> . identifier_or_ref…
60declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l function_definition -> . declara…
69 q57 [label="57:\l direct_declarator -> '(' declarator . ')'\l"];
83 …ers declarator . $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l init_declarator -> declara…
84 …SION T_TYPEDEF\l any_typedef -> . T_TYPEDEF\l function_definition -> declarator $$4 . opt_declar…
[all …]
/freebsd/contrib/byacc/test/yacc/
H A Dgrammar.tab.c213 Declarator *declarator; member
237 Declarator *declarator; member
302 extern void put_body (FILE *outf, DeclSpec *decl_spec, Declarator *declarator);
381 if (p->declarator->func_def == FUNC_ANSI) { in haveAnsiParam()
1392 if (strcmp(yystack.l_mark[0].declarator->text, yystack.l_mark[0].declarator->name) != 0) in YYPARSE_DECL()
1394 new_symbol(typedef_names, yystack.l_mark[0].declarator->name, NULL, flags); in YYPARSE_DECL()
1395 free_declarator(yystack.l_mark[0].declarator); in YYPARSE_DECL()
1404 if (strcmp(yystack.l_mark[0].declarator->text, yystack.l_mark[0].declarator->name) != 0) in YYPARSE_DECL()
1406 new_symbol(typedef_names, yystack.l_mark[0].declarator->name, NULL, flags); in YYPARSE_DECL()
1407 free_declarator(yystack.l_mark[0].declarator); in YYPARSE_DECL()
[all …]
H A Dgrammar.output35 23 declarator_list : declarator
36 24 | declarator_list ',' declarator
42 …27 function_definition : decl_specifiers declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCH…
46 29 function_definition : declarator $$4 opt_declaration_list T_LBRACE T_MATCHRBRACE
98 70 init_declarator : declarator
102 72 init_declarator : declarator '=' $$5 T_INITIALIZER
113 79 declarator : pointer direct_declarator
117 82 | '(' declarator ')'
137 96 parameter_declaration : decl_specifiers declarator
208 declarator goto 41
[all …]
H A Dgrammar.dot12declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l function_definition -> . declara…
14declarator -> . pointer direct_declarator\l declarator -> . direct_declarator\l direct_declarato…
46declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l decl_specifiers -> decl_specifie…
53 …EXTERN T_AUTO T_DEFINE_NAME T_TYPEDEF_NAME }\l function_definition -> declarator . $$4 opt_declar…
54 …q42 [label="42:\l declarator -> direct_declarator . { ')' '=' ',' ';' T_VA_DCL T_LBRACE T_TYPE_QU…
56 …EDEF_NAME\l declarator -> pointer . direct_declarator\l direct_declarator -> . identifier_or_ref…
60declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l function_definition -> . declara…
69 q57 [label="57:\l direct_declarator -> '(' declarator . ')'\l"];
83 …ers declarator . $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l init_declarator -> declara…
84 …SION T_TYPEDEF\l any_typedef -> . T_TYPEDEF\l function_definition -> declarator $$4 . opt_declar…
[all …]
/freebsd/contrib/byacc/test/
H A Dbtyacc_demo.y61 %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): in declarator() function
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($e,$1) { $$ = $2; } in formal_arg()
H A Dgrammar.y71 %type <declarator> init_declarator declarator direct_declarator
72 %type <declarator> abs_declarator direct_abs_declarator
183 Declarator *declarator; member
207 Declarator *declarator; member
272 extern void put_body (FILE *outf, DeclSpec *decl_spec, Declarator *declarator);
351 if (p->declarator->func_def == FUNC_ANSI) { in haveAnsiParam()
459 : declarator
471 | declarator_list ',' declarator
483 : decl_specifiers declarator
519 | declarator
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_grammar.y171 %type <l_decl> declarator
248 DT_KEY_INLINE declaration_specifiers declarator
721 declarator {
746 declarator { dt_decl_member(NULL); }
748 | declarator DT_TOK_COLON constant_expression {
776 declarator: direct_declarator
782 | lparen declarator DT_TOK_RPAR { $$ = $2; }
819 | parameter_declaration_specifiers declarator {
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp190 Declarator &declarator; member in __anonc2847d970111::TypeProcessingState
223 TypeProcessingState(Sema &sema, Declarator &declarator) in TypeProcessingState() argument
224 : sema(sema), declarator(declarator), in TypeProcessingState()
225 chunkIndex(declarator.getNumTypeObjects()), parsedNoDeref(false) {} in TypeProcessingState()
232 return declarator; in getDeclarator()
236 return chunkIndex == declarator.getNumTypeObjects(); in isProcessingDeclSpec()
244 assert(idx <= declarator.getNumTypeObjects()); in setCurrentChunkIndex()
251 return declarator.getTypeObject(chunkIndex).getAttrs(); in getCurrentAttributes()
363 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec()
419 static DeclaratorChunk *maybeMovePastReturnType(Declarator &declarator, in maybeMovePastReturnType() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp1327 Declarator declarator(declSpec, ParsedAttributesView::none(), context); in ParseObjCTypeName() local
1328 ParseDeclarator(declarator); in ParseObjCTypeName()
1331 if (!declarator.isInvalidType()) { in ParseObjCTypeName()
1335 addContextSensitiveTypeNullability(*this, declarator, in ParseObjCTypeName()
1340 TypeResult type = Actions.ActOnTypeName(declarator); in ParseObjCTypeName()
1347 takeDeclAttributes(*paramAttrs, declarator); in ParseObjCTypeName()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticParseKinds.td153 "qualifiers after comma in declarator list are ignored">,
179 "'_Noreturn' keyword must precede function declarator">;
232 "expected function body after function declarator">;
252 "expected ';' after top level declarator">;
403 def err_missing_param : Error<"expected parameter declarator">;
1061 "appear multiple times in a lambda declarator">;
1509 "expected declarator on 'omp declare mapper' directive">;
H A DDiagnosticCommonKinds.td97 "invalid storage class specifier in function declarator">;
H A DDiagnosticSemaKinds.td388 "redundant parentheses surrounding declarator">,
465 def err_declarator_need_ident : Error<"declarator requires an identifier">;
1617 "'__kindof' type specifier must precede the declarator">;
6858 "%0 used in array declarator outside of function prototype">;
7186 "typedef declarator cannot be qualified">;
7188 "parameter declarator cannot be qualified">;
7769 "@catch parameter declarator cannot be qualified">;
8089 "exception declarator cannot be qualified">;
/freebsd/share/dict/
H A Dweb249566 declarator