diff options
author | Jason Merrill <jason@redhat.com> | 2010-10-03 19:28:15 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-10-03 19:28:15 -0400 |
commit | 79fe346e8aac0fecd659ba7433107ea3e86a4cd6 (patch) | |
tree | 591b863df38402e3a26c6e201f36025b6da5f227 /gcc/cp/cp-tree.h | |
parent | 82a1c2fe690f15bfa0b91b54a7f1746acad0a1ef (diff) | |
download | gcc-79fe346e8aac0fecd659ba7433107ea3e86a4cd6.zip gcc-79fe346e8aac0fecd659ba7433107ea3e86a4cd6.tar.gz gcc-79fe346e8aac0fecd659ba7433107ea3e86a4cd6.tar.bz2 |
typeck.c (require_complete_type_sfinae): Add complain parm to...
* typeck.c (require_complete_type_sfinae): Add complain parm to...
(require_complete_type): ...this function.
(cp_build_array_ref, convert_arguments): Use it.
(convert_for_initialization, cp_build_modify_expr): Likewise.
* cp-tree.h: Declare it.
* call.c (build_over_call): Use it.
From-SVN: r164918
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 aa1fe4d..6ce10e6 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -5432,6 +5432,7 @@ extern int string_conv_p (const_tree, const_tree, int); extern tree cp_truthvalue_conversion (tree); extern tree condition_conversion (tree); extern tree require_complete_type (tree); +extern tree require_complete_type_sfinae (tree, tsubst_flags_t); extern tree complete_type (tree); extern tree complete_type_or_else (tree, tree); extern tree complete_type_or_maybe_complain (tree, tree, tsubst_flags_t); |