aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 3edf39f..9c80fba 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -2450,16 +2450,6 @@ cp_cannot_inline_tree_fn (tree* fnp)
return 0;
}
-/* Determine whether VAR is a declaration of an automatic variable in
- function FN. */
-
-int
-cp_auto_var_in_fn_p (const_tree var, const_tree fn)
-{
- return (DECL_P (var) && DECL_CONTEXT (var) == fn
- && nonstatic_local_decl_p (var));
-}
-
/* Like save_expr, but for C++. */
tree