aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2012-10-07 23:08:49 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2012-10-07 23:08:49 +0000
commit81bd268ceb57db1d3996b63b66054b4dce8dbb06 (patch)
tree533268d5a2c1921373458d7bde290aa546ce188c /gcc/cp/cp-tree.h
parenta5061eed103e5e87e8416ac9e181423a8853ce0f (diff)
downloadgcc-81bd268ceb57db1d3996b63b66054b4dce8dbb06.zip
gcc-81bd268ceb57db1d3996b63b66054b4dce8dbb06.tar.gz
gcc-81bd268ceb57db1d3996b63b66054b4dce8dbb06.tar.bz2
pt.c (fold_non_dependent_expr_sfinae): Remove static specifier.
2012-10-07 Paolo Carlini <paolo.carlini@oracle.com> * pt.c (fold_non_dependent_expr_sfinae): Remove static specifier. (tsubst_copy_and_build): Use get_target_expr_sfinae. * call.c (build_conditional_expr_1, convert_like_real): Likewise. * cvt.c (build_up_reference): Likewise. (ocp_convert): Use abstract_virtuals_error_sfinae. (build_up_reference): Propagate complain to cp_build_addr_expr. * decl.c (compute_array_index_type): Use fold_non_dependent_expr_sfinae. * cp-tree.h: Update declarations. * cvt.c (build_expr_type_conversion): Tidy. * tree.c (stabilize_aggr_init): Change to static. From-SVN: r192188
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 034668d..00f2d4a 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -5411,6 +5411,7 @@ extern tree build_non_dependent_expr (tree);
extern void make_args_non_dependent (VEC(tree,gc) *);
extern bool reregister_specialization (tree, tree, tree);
extern tree fold_non_dependent_expr (tree);
+extern tree fold_non_dependent_expr_sfinae (tree, tsubst_flags_t);
extern bool alias_type_or_template_p (tree);
extern bool alias_template_specialization_p (tree);
extern bool explicit_class_specialization_p (tree);
@@ -5700,7 +5701,6 @@ extern void lang_check_failed (const char *, int,
const char *) ATTRIBUTE_NORETURN;
extern tree stabilize_expr (tree, tree *);
extern void stabilize_call (tree, tree *);
-extern void stabilize_aggr_init (tree, tree *);
extern bool stabilize_init (tree, tree *);
extern tree add_stmt_to_compound (tree, tree);
extern void init_tree (void);