diff options
author | Jason Merrill <jason@redhat.com> | 2010-08-19 12:59:37 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-08-19 12:59:37 -0400 |
commit | 2c5df20f2ee3af837efdcf9a384a5fb600791050 (patch) | |
tree | e43271e2f5bde4f31bf2664b89322cd4b225faac /gcc/cp/cp-tree.h | |
parent | fcaa4ca43392cfedaa9ce44dd7280236c1726ed9 (diff) | |
download | gcc-2c5df20f2ee3af837efdcf9a384a5fb600791050.zip gcc-2c5df20f2ee3af837efdcf9a384a5fb600791050.tar.gz gcc-2c5df20f2ee3af837efdcf9a384a5fb600791050.tar.bz2 |
except.c (pending_noexcept, [...]): New.
* except.c (pending_noexcept, pending_noexcept_checks): New.
(perform_deferred_noexcept_checks): New.
(maybe_noexcept_warning): Split from...
(finish_noexcept_expr): ...here. Adjust.
* decl2.c (cp_write_global_declarations): Call
perform_deferred_noexcept_checks.
* cp-tree.h: And declare it.
From-SVN: r163379
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index baa6656..dce28df 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -4883,6 +4883,7 @@ extern tree build_throw (tree); extern int nothrow_libfn_p (const_tree); extern void check_handlers (tree); extern tree finish_noexcept_expr (tree, tsubst_flags_t); +extern void perform_deferred_noexcept_checks (void); extern bool nothrow_spec_p (const_tree); extern bool type_noexcept_p (const_tree); extern bool type_throw_all_p (const_tree); |