[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
Fri Mar 6 19:33:46 PST 2009
On Feb 25, 2009, at 7:47 PM, Neil Booth <neil at daikokuya.co.uk> wrote:
> 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?
I was... but that was clearly a bad idea :) I've fixed the issue.
- Doug
More information about the cfe-commits
mailing list