jimingham wrote:
Unfortunately, this is legal C++:
```
class Foo {
public:
int m_intvar = 10;
};
class Bar : Foo {
public:
int Foo = 100;
};
int
main()
{
Bar myBar;
return myBar.Foo;
}
```
So the lookup by name of Foo wouldn't be unique here.
https://github.com/llvm/llvm-project/pull/118814