aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@gcc.gnu.org>2018-09-24 19:26:04 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2018-09-24 19:26:04 +0000
commit779d8a5ad09b01428726ea5a0e6c87bd9ac3c0e4 (patch)
tree90ae1d01dbde7fc5e25b6c629af5bf2d9b0b94f7 /gcc/cp/except.c
parent06ff274feb26fd569fd167225d29479f5b974c45 (diff)
downloadgcc-779d8a5ad09b01428726ea5a0e6c87bd9ac3c0e4.zip
gcc-779d8a5ad09b01428726ea5a0e6c87bd9ac3c0e4.tar.gz
gcc-779d8a5ad09b01428726ea5a0e6c87bd9ac3c0e4.tar.bz2
cp-tree.h (build_noexcept_spec, [...]): Adjust declarations.
* cp-tree.h (build_noexcept_spec, add_exception_specifier): Adjust declarations. * except.c (build_noexcept_spec): Change the type of the complain parameter to tsubst_flags_t. * typeck2.c (add_exception_specifier): Likewise. From-SVN: r264543
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 2db90ee..3449b59 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -1187,7 +1187,7 @@ type_throw_all_p (const_tree type)
constant-expression of EXPR. COMPLAIN is as for tsubst. */
tree
-build_noexcept_spec (tree expr, int complain)
+build_noexcept_spec (tree expr, tsubst_flags_t complain)
{
/* This isn't part of the signature, so don't bother trying to evaluate
it until instantiation. */