DILexicalBlockFile should be skipped and use its DILexicalBlock parent scope when considering "entities declared in lexical scope".
This patch should fix https://llvm.org/bugs/show_bug.cgi?id=26942
And will be applied to changes in r263424.
Differential D18350
Fixing DILexicalBlockFile issue in r263424 aaboud on Mar 22 2016, 6:03 AM. Authored by
Details
DILexicalBlockFile should be skipped and use its DILexicalBlock parent scope when considering "entities declared in lexical scope". This patch should fix https://llvm.org/bugs/show_bug.cgi?id=26942
Diff Detail Event TimelineComment Actions Can you explain the problem that you are running into — why do you need to skip over the lexical block files (my guess is because they are not "real" lexical blocks)? The changes seem straightforward and fine to me, but a little bit of context would be helpful.
Comment Actions Please see the answer below.
Comment Actions Since we have a public (if inconvenient) reproduction, can one of you Thanks! -eric |
Please add a comment here explaining why this is necessary.