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
This commit is contained in:
parent
06ff274feb
commit
779d8a5ad0
@ -6461,7 +6461,7 @@ extern void perform_deferred_noexcept_checks (void);
|
|||||||
extern bool nothrow_spec_p (const_tree);
|
extern bool nothrow_spec_p (const_tree);
|
||||||
extern bool type_noexcept_p (const_tree);
|
extern bool type_noexcept_p (const_tree);
|
||||||
extern bool type_throw_all_p (const_tree);
|
extern bool type_throw_all_p (const_tree);
|
||||||
extern tree build_noexcept_spec (tree, int);
|
extern tree build_noexcept_spec (tree, tsubst_flags_t);
|
||||||
extern void choose_personality_routine (enum languages);
|
extern void choose_personality_routine (enum languages);
|
||||||
extern tree build_must_not_throw_expr (tree,tree);
|
extern tree build_must_not_throw_expr (tree,tree);
|
||||||
extern tree eh_type_info (tree);
|
extern tree eh_type_info (tree);
|
||||||
@ -7415,7 +7415,7 @@ extern tree build_x_arrow (location_t, tree,
|
|||||||
tsubst_flags_t);
|
tsubst_flags_t);
|
||||||
extern tree build_m_component_ref (tree, tree, tsubst_flags_t);
|
extern tree build_m_component_ref (tree, tree, tsubst_flags_t);
|
||||||
extern tree build_functional_cast (tree, tree, tsubst_flags_t);
|
extern tree build_functional_cast (tree, tree, tsubst_flags_t);
|
||||||
extern tree add_exception_specifier (tree, tree, int);
|
extern tree add_exception_specifier (tree, tree, tsubst_flags_t);
|
||||||
extern tree merge_exception_specifiers (tree, tree);
|
extern tree merge_exception_specifiers (tree, tree);
|
||||||
|
|
||||||
/* in mangle.c */
|
/* in mangle.c */
|
||||||
|
@ -1187,7 +1187,7 @@ type_throw_all_p (const_tree type)
|
|||||||
constant-expression of EXPR. COMPLAIN is as for tsubst. */
|
constant-expression of EXPR. COMPLAIN is as for tsubst. */
|
||||||
|
|
||||||
tree
|
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
|
/* This isn't part of the signature, so don't bother trying to evaluate
|
||||||
it until instantiation. */
|
it until instantiation. */
|
||||||
|
@ -2215,7 +2215,7 @@ build_functional_cast (tree exp, tree parms, tsubst_flags_t complain)
|
|||||||
know what we're doing. */
|
know what we're doing. */
|
||||||
|
|
||||||
tree
|
tree
|
||||||
add_exception_specifier (tree list, tree spec, int complain)
|
add_exception_specifier (tree list, tree spec, tsubst_flags_t complain)
|
||||||
{
|
{
|
||||||
bool ok;
|
bool ok;
|
||||||
tree core = spec;
|
tree core = spec;
|
||||||
|
Loading…
Reference in New Issue
Block a user