diff options
author | Douglas Gregor <dgregor@apple.com> | 2013-04-03 23:06:26 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2013-04-03 23:06:26 +0000 |
commit | 151976694a8e63bb6ff5e280d77371a9490b9413 (patch) | |
tree | c6cba7c16dcc09bedff10266bba0c3f186ccae1f /llvm/lib/Support/SmallPtrSet.cpp | |
parent | 54dc7fdefb05ce04e7864335e231c4f597967b6d (diff) | |
download | bcm5719-llvm-151976694a8e63bb6ff5e280d77371a9490b9413.tar.gz bcm5719-llvm-151976694a8e63bb6ff5e280d77371a9490b9413.zip |
<rdar://problem/13560075> Teach name lookup for builtin names to find hidden declarations.
Normal name lookup ignores any hidden declarations. When name lookup
for builtin declarations fails, we just synthesize a new
declaration at the point of use. With modules, this could lead to
multiple declarations of the same builtin, if one came from a (hidden)
submodule that was later made visible. Teach name lookup to always
find builtin names, so we don't create these redundant declarations in
the first place.
llvm-svn: 178711
Diffstat (limited to 'llvm/lib/Support/SmallPtrSet.cpp')
0 files changed, 0 insertions, 0 deletions