Deleted Added
sdiff udiff text old ( 259563 ) new ( 260074 )
full compact
1/* Process declarations and variables for C++ compiler.
2 Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 Hacked by Michael Tiemann (tiemann@cygnus.com)
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify

--- 1712 unchanged lines hidden (view full) ---

1721 }
1722 else
1723 determine_visibility_from_class (decl, DECL_CONTEXT (fn));
1724
1725 /* Local classes in templates have CLASSTYPE_USE_TEMPLATE set,
1726 but have no TEMPLATE_INFO, so don't try to check it. */
1727 use_template = 0;
1728 }
1729 else if (TREE_CODE (decl) == VAR_DECL && DECL_TINFO_P (decl))
1730 {
1731 /* tinfo visibility is based on the type it's for. */
1732 constrain_visibility
1733 (decl, type_visibility (TREE_TYPE (DECL_NAME (decl))));
1734 }
1735 else if (use_template)
1736 /* Template instantiations and specializations get visibility based

--- 1853 unchanged lines hidden ---