aboutsummaryrefslogtreecommitdiff
path: root/include/demangle.h
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2009-09-29 23:01:30 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-09-29 23:01:30 -0400
commitd5f4edddeb609ad93c7a69ad4575b082de8dc707 (patch)
treea0717adf99d475ef98d9002044972a7ab9c3e5d6 /include/demangle.h
parent300ea2831b894fc143539fe0319f39062b6e4daf (diff)
downloadgcc-d5f4edddeb609ad93c7a69ad4575b082de8dc707.zip
gcc-d5f4edddeb609ad93c7a69ad4575b082de8dc707.tar.gz
gcc-d5f4edddeb609ad93c7a69ad4575b082de8dc707.tar.bz2
merge in cxx0x-lambdas-branch@152308
From-SVN: r152318
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h14
1 files changed, 14 insertions, 0 deletions
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;
};