summaryrefslogtreecommitdiff
path: root/include/demangle.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-11-07 23:09:29 +0000
committerMark Wielaard <mark@klomp.org>2016-11-18 11:06:18 +0100
commita4ddf8dc72f0ac10c3459a91949eb1bdb07ed10d (patch)
tree7415197f4db87cc9d0de4b1f61820344f1df7b90 /include/demangle.h
parent4d17eaece8b31e642acaf4d77fe961ad8e3aaf50 (diff)
Implement P0012R1, Make exception specifications part of the type system.
libiberty/ * cp-demangle.c (is_fnqual_component_type): New. (d_encoding, d_print_comp_inner, d_print_mod_list): Use it. (FNQUAL_COMPONENT_CASE): New. (d_make_comp, has_return_type, d_print_comp_inner) (d_print_function_type): Use it. (next_is_type_qual): New. (d_cv_qualifiers, d_print_mod): Handle noexcept and throw-spec. include/ * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_NOEXCEPT, DEMANGLE_COMPONENT_THROW_SPEC.
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/demangle.h b/include/demangle.h
index 3e1d95cc5a..12f51cab35 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -449,7 +449,9 @@ enum demangle_component_type
/* A transaction-safe function type. */
DEMANGLE_COMPONENT_TRANSACTION_SAFE,
/* A cloned function. */
- DEMANGLE_COMPONENT_CLONE
+ DEMANGLE_COMPONENT_CLONE,
+ DEMANGLE_COMPONENT_NOEXCEPT,
+ DEMANGLE_COMPONENT_THROW_SPEC
};
/* Types which are only used internally. */