This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++: INHERITED_VALUE_BINDING_P


Hi,

  In the C++ front-end, the macro INHERITED_VALUE_BINDING_P is used to
distinguish a class-scope declaration that is inherited (from a base
class) from regular ones.  I believe that is a carry-over from old ARM
scope rules.  I think we could safely get rid of it because standard
scope notions make no room for the idea of inherited declaration:
Instead, each base class retains its scope and declarations in derived
class hide declarations in base classes.

Opinions?

-- Gabby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]