[pushed] c++: Remove unused declaration

Message ID 20220901200449.31892-1-polacek@redhat.com
State New, archived
Headers
Series [pushed] c++: Remove unused declaration |

Commit Message

Marek Polacek Sept. 1, 2022, 8:04 p.m. UTC
  This declaration was added in r260905 but the function was never
defined.

Tested x86_64-pc-linux-gnu, applying to trunk.

gcc/cp/ChangeLog:

	* cp-tree.h (maybe_strip_ref_conversion): Remove.
---
 gcc/cp/cp-tree.h | 1 -
 1 file changed, 1 deletion(-)


base-commit: 42e489088bf53845c648e512449b72dbd3c7169b
  

Patch

diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index c897da204fe..c45f843825e 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -7598,7 +7598,6 @@  extern tree force_paren_expr			(tree, bool = false);
 inline tree force_paren_expr_uneval 		(tree t)
 { return force_paren_expr (t, true); }
 extern tree maybe_undo_parenthesized_ref	(tree);
-extern tree maybe_strip_ref_conversion		(tree);
 extern tree finish_non_static_data_member       (tree, tree, tree,
 						 tsubst_flags_t = tf_warning_or_error);
 extern tree begin_stmt_expr			(void);