diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-07 21:55:43 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-07 21:55:43 +0000 |
commit | ec2ec1f20322076717c3865b196f7a1c95d883a4 (patch) | |
tree | ae7edbbe553f80a9efb884da59612946c7e19750 /lib/Analysis/LiveVariables.cpp | |
parent | 3f5e8d87dbf449d8b39fe96068415428594d370e (diff) |
In DeclContext::LoadLexicalDeclsFromExternalStorage don't clear out
the fields if they are already loaded, just ignore them when we are building
the chain in BuildDeclChain.
This fixes an lldb issue where fields were removed and not getting re-added
because lldb is based on ASTImporter adding decls to DeclContext and fields
were already added before by the ASTImporter.
We should really simplify the interaction between DeclContext <-> lldb
going forward..
rdar://10246067
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions