diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog.lambda | 6 | ||||
-rw-r--r-- | include/demangle.h | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/ChangeLog.lambda b/include/ChangeLog.lambda new file mode 100644 index 00000000000..6195e348486 --- /dev/null +++ b/include/ChangeLog.lambda @@ -0,0 +1,6 @@ +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. diff --git a/include/demangle.h b/include/demangle.h index 4b3565bfbb8..76fab0a4582 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; }; |