diff options
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index db81da9..15b9697 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -5398,19 +5398,6 @@ cp_tree_code_length (enum tree_code code) } } -/* Wrapper around warn_deprecated_use that doesn't warn for - current_class_type. */ - -void -cp_warn_deprecated_use (tree node) -{ - if (TYPE_P (node) - && current_class_type - && TYPE_MAIN_VARIANT (node) == current_class_type) - return; - warn_deprecated_use (node, NULL_TREE); -} - /* Implement -Wzero_as_null_pointer_constant. Return true if the conditions for the warning hold, false otherwise. */ bool |