projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/#elseif/#elif/.
[cparser]
/
type_t.h
diff --git
a/type_t.h
b/type_t.h
index
de76857
..
b61ab77
100644
(file)
--- a/
type_t.h
+++ b/
type_t.h
@@
-60,10
+60,10
@@
typedef enum {
} atomic_type_type_t;
typedef enum {
} atomic_type_type_t;
typedef enum {
+ TYPE_QUALIFIER_NONE = 0,
TYPE_QUALIFIER_CONST = 1 << 0,
TYPE_QUALIFIER_RESTRICT = 1 << 1,
TYPE_QUALIFIER_VOLATILE = 1 << 2,
TYPE_QUALIFIER_CONST = 1 << 0,
TYPE_QUALIFIER_RESTRICT = 1 << 1,
TYPE_QUALIFIER_VOLATILE = 1 << 2,
- TYPE_QUALIFIER_INLINE = 1 << 3,
} type_qualifier_t;
struct type_t {
} type_qualifier_t;
struct type_t {
@@
-103,11
+103,11
@@
struct function_parameter_t {
};
struct function_type_t {
};
struct function_type_t {
- type_t type;
- type_t *result_type;
+ type_t
type;
+ type_t
*result_type;
function_parameter_t *parameters;
function_parameter_t *parameters;
- bool variadic;
- bool unspecified_parameters;
+ bool
variadic;
+ bool
unspecified_parameters;
};
struct compound_type_t {
};
struct compound_type_t {