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

Neil Booth neil at daikokuya.co.uk
Wed Feb 25 16:47:01 PST 2009


Douglas Gregor wrote:-

> In C++, we can't inject them into the top-level scope because they  
> aren't visible, and we could come up with some weird cases where a  
> semantically-correct program would fail if we made them visible.  

They're aren't visible in C90 / C99 either.  e.g. you can't take
their address, so this isn't different to C++.  Are you making
them visible in C?

Neil.



More information about the cfe-commits mailing list