diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-06-16 14:43:20 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-06-16 14:43:20 +0000 |
commit | 0d1dc5862f978beb28c76b91b137ccc23f747498 (patch) | |
tree | 008d36677165ca97125bd44718c610d4e8d5a989 /gcc/cp/method.c | |
parent | 6a2dfd9a66a678b26c762d0fc614fea267ea706b (diff) | |
download | gcc-0d1dc5862f978beb28c76b91b137ccc23f747498.zip gcc-0d1dc5862f978beb28c76b91b137ccc23f747498.tar.gz gcc-0d1dc5862f978beb28c76b91b137ccc23f747498.tar.bz2 |
Don't defer noexcept_deferred_spec.
* cp-tree.h (unevaluated_noexcept_spec): Don't declare.
* decl.c (cxx_init_decl_processing): Initialize
noexcept_deferred_spec.
* except.c (unevaluated_noexcept_spec): Delete.
* class.c (deduce_noexcept_on_destructor): Use
noexcept_deferred_spec directly.
* method.c (implicitly_declare_fn): Likewise.
From-SVN: r249264
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index aa607d5..98d36da 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -2023,7 +2023,7 @@ implicitly_declare_fn (special_function_kind kind, tree type, } else if (cxx_dialect >= cxx11) { - raises = unevaluated_noexcept_spec (); + raises = noexcept_deferred_spec; synthesized_method_walk (type, kind, const_p, NULL, &trivial_p, &deleted_p, &constexpr_p, false, inherited_ctor, inherited_parms); |