diff options
author | DJ Delorie <dj@redhat.com> | 2009-10-02 18:23:01 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2009-10-02 18:23:01 +0000 |
commit | 664aa91f58967c26edf02ae198ec2410db78699f (patch) | |
tree | e43249594b9350cfff352a32918a0438ad043f82 /include | |
parent | ca2163eb33ba5572fd2988bda8bb80608e6c36be (diff) | |
download | gdb-664aa91f58967c26edf02ae198ec2410db78699f.zip gdb-664aa91f58967c26edf02ae198ec2410db78699f.tar.gz gdb-664aa91f58967c26edf02ae198ec2410db78699f.tar.bz2 |
merge from gcc
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 7 | ||||
-rw-r--r-- | include/demangle.h | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 7e8f345..8e3f70d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,10 @@ +2009-09-29 Jason Merrill <jason@redhat.com> + + * demangle.h (enum demangle_component_type): Add + DEMANGLE_COMPONENT_LAMBDA, DEMANGLE_COMPONENT_DEFAULT_ARG, + DEMANGLE_COMPONENT_UNNAMED_TYPE. + (struct demangle_component): Add s_unary_num. + 2009-09-29 DJ Delorie <dj@redhat.com> * dis-asm.h: Add prototype for print_insn_rx. diff --git a/include/demangle.h b/include/demangle.h index 4b3565b..76fab0a 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -381,6 +381,12 @@ enum demangle_component_type DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS, /* Global destructors keyed to name. */ DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS, + /* A lambda closure type. */ + DEMANGLE_COMPONENT_LAMBDA, + /* A default argument scope. */ + DEMANGLE_COMPONENT_DEFAULT_ARG, + /* An unnamed type. */ + DEMANGLE_COMPONENT_UNNAMED_TYPE, /* A pack expansion. */ DEMANGLE_COMPONENT_PACK_EXPANSION }; @@ -494,6 +500,14 @@ struct demangle_component struct demangle_component *right; } s_binary; + struct + { + /* subtree, same place as d_left. */ + struct demangle_component *sub; + /* integer. */ + int num; + } s_unary_num; + } u; }; |