projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct precedence for printing ?: in C++ mode.
[cparser]
/
entity_t.h
diff --git
a/entity_t.h
b/entity_t.h
index
1f4c35f
..
7c54b35
100644
(file)
--- a/
entity_t.h
+++ b/
entity_t.h
@@
-57,9
+57,6
@@
typedef enum storage_class_tag_t {
STORAGE_CLASS_TYPEDEF,
STORAGE_CLASS_AUTO,
STORAGE_CLASS_REGISTER,
STORAGE_CLASS_TYPEDEF,
STORAGE_CLASS_AUTO,
STORAGE_CLASS_REGISTER,
- STORAGE_CLASS_THREAD,
- STORAGE_CLASS_THREAD_EXTERN,
- STORAGE_CLASS_THREAD_STATIC,
} storage_class_tag_t;
typedef unsigned char storage_class_t;
} storage_class_tag_t;
typedef unsigned char storage_class_t;
@@
-125,6
+122,7
@@
struct entity_base_t {
struct compound_t {
entity_base_t base;
struct compound_t {
entity_base_t base;
+ entity_t *alias; /* used for name mangling of anonymous types */
scope_t members;
decl_modifiers_t modifiers;
bool complete : 1;
scope_t members;
decl_modifiers_t modifiers;
bool complete : 1;
@@
-137,6
+135,7
@@
struct compound_t {
struct enum_t {
entity_base_t base;
struct enum_t {
entity_base_t base;
+ entity_t *alias; /* used for name mangling of anonymous types */
bool complete : 1;
/* ast2firm info */
bool complete : 1;
/* ast2firm info */
@@
-199,6
+198,7
@@
struct compound_member_t {
struct variable_t {
declaration_t base;
struct variable_t {
declaration_t base;
+ bool thread_local : 1; /**< GCC __thread */
bool address_taken : 1; /**< Set if the address of this declaration was taken. */
bool read : 1;
unsigned char alignment; /**< Alignment of the declaration, 0 for default. */
bool address_taken : 1; /**< Set if the address of this declaration was taken. */
bool read : 1;
unsigned char alignment; /**< Alignment of the declaration, 0 for default. */