diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-07 03:37:08 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-02-07 03:37:08 +0000 |
commit | bbcd0f3ba215d5a8857b224e32b0330586a00dc6 (patch) | |
tree | 2308609a03b6cb5ad435da2773727698496a0777 /include/clang/Serialization/ASTBitCodes.h | |
parent | 3646c68676c3c46a026b23d52188ef6e0d856178 (diff) |
Fix handling of module imports adding names to a DeclContext after qualified
name lookup has been performed in that context (this probably only happens in
C++).
1) Whenever we add names to a context, set a flag on it, and if we perform
lookup and discover that the context has had a lookup table built but has the
flag set, update all entries in the lookup table with additional names from
the external source.
2) When marking a DeclContext as having external visible decls, mark the
context in which lookup is performed, not the one we are adding. These won't
be the same if we're adding another copy of a pre-existing namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/ASTBitCodes.h')
0 files changed, 0 insertions, 0 deletions