Commit | Line | Data |
---|---|---|
3cd4b0f8 MW |
1 | #ifndef CONSTRAINTS_H |
2 | #define CONSTRAINTS_H | |
3 | ||
4 | void ucn_constraints(unsigned long u); | |
5 | ||
6 | enum declarator_context { | |
7 | dc_function_definition, | |
8 | dc_function_parameter, | |
9 | dc_function_definition_parameter, | |
10 | dc_struct_member, | |
11 | dc_cast, | |
12 | dc_compound_literal, | |
13 | dc_sizeof, | |
14 | dc_file_scope, | |
15 | dc_block_scope, | |
16 | }; | |
17 | ||
18 | enum type_category { | |
19 | tc_complete, | |
20 | tc_incomplete, | |
21 | tc_function | |
22 | }; | |
23 | ||
24 | enum type_category get_type_category(const struct declaration_specifiers *ds, | |
25 | const struct declarator_type *dt); | |
26 | int is_void_args(const struct declarator_type *dt); | |
27 | void declarator_constraints(const struct declaration_specifiers *ds, | |
28 | const struct declarator *d, | |
29 | enum declarator_context context, | |
30 | int argno); | |
31 | void declaration_constraints(const struct declaration *decl, | |
32 | enum declarator_context context); | |
33 | ||
34 | #endif /* CONSTRAINTS_H */ | |
35 | ||
36 | /* | |
37 | Local Variables: | |
38 | c-basic-offset:2 | |
39 | comment-column:40 | |
40 | End: | |
41 | */ |