diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-02-24 04:26:15 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-02-24 04:26:15 +0000 |
commit | 25d944af5d8d665611e09956954f10896c1071f6 (patch) | |
tree | 7d5409c1bf505495c11a54ea5f26d4c8a9858963 /lib/Rewrite/HTMLRewrite.cpp | |
parent | 8a219ceda2b5afd447e7199b9c53079bead31b89 (diff) |
In C, when we see a function declaration within a local scope, export
that declaration to global scope so that it can be found from other
scopes. This allows us to diagnose redeclaration errors for external
declarations across scopes. We also warn when name lookup finds such
an out-of-scope declaration. This is part of <rdar://problem/6127293>;
we'll also need to do the same thing for variables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/HTMLRewrite.cpp')
0 files changed, 0 insertions, 0 deletions