re PR debug/56563 (no debuginfo for "explicit" operator)

PR debug/56563
	* cp-objcp-common.c (cp_function_decl_explicit_p): Remove
	FUNCTION_FIRST_USER_PARMTYPE (decl) != void_list_node check.

From-SVN: r207915
This commit is contained in:
Jakub Jelinek 2014-02-19 19:12:31 +01:00 committed by Jakub Jelinek
parent 4998d6669f
commit 128ed0903f
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2014-02-19 Jakub Jelinek <jakub@redhat.com>
PR debug/56563
* cp-objcp-common.c (cp_function_decl_explicit_p): Remove
FUNCTION_FIRST_USER_PARMTYPE (decl) != void_list_node check.
PR c++/60267
* pt.c (tsubst_expr): Handle ANNOTATE_EXPR.

View File

@ -160,7 +160,6 @@ bool
cp_function_decl_explicit_p (tree decl)
{
return (decl
&& FUNCTION_FIRST_USER_PARMTYPE (decl) != void_list_node
&& DECL_LANG_SPECIFIC (STRIP_TEMPLATE (decl))
&& DECL_NONCONVERTING_P (decl));
}