diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-03-02 00:19:53 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-03-02 00:19:53 +0000 |
commit | 6393519272ce727f4d26e71bbefb5de712274d0e (patch) | |
tree | 1ebe5d1a23ac06f5fadd2152adff7bf0740dc3f0 /lib/CodeGen/CGBlocks.cpp | |
parent | 8045ee072879657370cbd97dca46aea45ec44e2d (diff) |
Rework the way we find locally-scoped external declarations when we
need them to evaluate redeclarations or call a function that hasn't
already been declared. We now keep a DenseMap of these locally-scoped
declarations so that they are not visible but can be quickly found,
e.g., when we're looking for previous declarations or before we go
ahead and implicitly declare a function that's being called. Fixes
PR3672.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions