[cfe-commits] r65385 - in /cfe/trunk: lib/Sema/Sema.h lib/Sema/SemaDecl.cpp test/Sema/var-redecl.c test/Sema/vla.c

Douglas Gregor dgregor at apple.com
Wed Feb 25 11:35:02 PST 2009


On Feb 25, 2009, at 11:31 AM, Sebastian Redl wrote:

> Douglas Gregor wrote:
>> I know there are ways around this problem: each namespace (including
>> the global scope) could have a map from names to "known but non-
>> visible" declarations within that namespace,
> It would be nice to have this functionality, since friend declarations
> have similar status.

IIRC, friend declarations are found by ADL, but they aren't visible to  
name lookup in ISO C++. In ARM C++ friends were visible to name  
lookup, but I don't know if that's an extension we want to support...

	- Doug




More information about the cfe-commits mailing list