summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/FileOutputBuffer.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-04-03 23:06:26 +0000
committerDouglas Gregor <dgregor@apple.com>2013-04-03 23:06:26 +0000
commit151976694a8e63bb6ff5e280d77371a9490b9413 (patch)
treec6cba7c16dcc09bedff10266bba0c3f186ccae1f /llvm/lib/Support/FileOutputBuffer.cpp
parent54dc7fdefb05ce04e7864335e231c4f597967b6d (diff)
downloadbcm5719-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/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud