The C++ FE holds class members in two vectors, a vector of overloaded methods and a vector of fields and other stuff. This is bad 1) These vectors are unsorted until the class is complete 2) When sorted they have O(log N) performance, and N can get resonably big these days 3) You have to look in two places 4) It won't play nice when we get using declarations right -- you can't tell at parse time whether a using declaration from a dependent base will be a function/field/other We should have one hash table per class to hold everything.
12944 is for generic namelookup problems.
I guess I get to assign this to myself
With r252078 I've done all I intend for the moment. At least everythings on a single sorted vector. Still to do is remove the IDENTIFIER_BINDING hackery that makes class members look like local stuff when inside the class.