aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/ASTMerge.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
commit96df3562752e13237df051469271f8999ad60fe6 (patch)
tree06ccb2f94fe625a5d5822b2618f01d806c0f25cb /lib/Frontend/ASTMerge.cpp
parent5b8d0af4234252b38229a5bae1d615ac9769f73f (diff)
<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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions