FreeBSD/contrib/gcc/cp/decl.c
/* Returns nonzero if T is a local variable.  */
Returns nonzero if T is a local variable.
Returns nonzero if T is a local variable .
int
local_variable_p (tree t)
{
  if ((TREE_CODE (t) == VAR_DECL
       && !TYPE_P (CP_DECL_CONTEXT (t))
       && !DECL_NAMESPACE_SCOPE_P (t))
      || (TREE_CODE (t) == PARM_DECL))
    return 1;
  return 0;
}
int local_variable_p ( tree t ) { if ( ( TREE_CODE ( t ) == VAR_DECL && ! TYPE_P ( CP_DECL_CONTEXT ( t ) ) && ! DECL_NAMESPACE_SCOPE_P ( t ) ) || ( TREE_CODE ( t ) == PARM_DECL ) ) return 1 ; return 0 ; }
Returns nonzero if T is a local variable.
Returns nonzero if T is a local variable .
/* A VAR_DECL with a context that is a _TYPE is a static data
	  member.  */ /* Any other non-local variable must be at namespace scope.  */