aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-04-11 18:01:04 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-04-11 18:01:04 -0400
commit80c6dcf59bf7b192f107a2d950877a6b09fc6084 (patch)
tree3b58eebc8734149498c7501b9210b12e419ac019 /gcc/cp/cp-tree.h
parent76186d20ccf5c5c34f5f4fe2e721738d28890a4a (diff)
downloadgcc-80c6dcf59bf7b192f107a2d950877a6b09fc6084.zip
gcc-80c6dcf59bf7b192f107a2d950877a6b09fc6084.tar.gz
gcc-80c6dcf59bf7b192f107a2d950877a6b09fc6084.tar.bz2
re PR c++/48535 ([C++0x][SFINAE] Hard errors during list-value-initialization)
PR c++/48535 * decl.c (cp_complete_array_type_or_error): New. * semantics.c (finish_compound_literal): Use it. * cp-tree.h: Declare it. From-SVN: r172287
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 44a20ea..4321d28 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -4791,6 +4791,7 @@ extern void start_decl_1 (tree, bool);
extern bool check_array_initializer (tree, tree, tree);
extern void cp_finish_decl (tree, tree, bool, tree, int);
extern int cp_complete_array_type (tree *, tree, bool);
+extern int cp_complete_array_type_or_error (tree *, tree, bool, tsubst_flags_t);
extern tree build_ptrmemfunc_type (tree);
extern tree build_ptrmem_type (tree, tree);
/* the grokdeclarator prototype is in decl.h */