diff options
author | Erich Keane <erich.keane@intel.com> | 2017-10-24 01:39:56 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2017-10-24 01:39:56 +0000 |
commit | af0795b906f372be504a7eb499ffe44d83fa1666 (patch) | |
tree | 8adbb69cb28811e1c23dbd5f7191a82cc6e59492 /lldb/packages/Python/lldbsuite/support/gmodules.py | |
parent | 9ce2d03e5421979f9f007ec01d5aa429c36822ed (diff) | |
download | bcm5719-llvm-af0795b906f372be504a7eb499ffe44d83fa1666.tar.gz bcm5719-llvm-af0795b906f372be504a7eb499ffe44d83fa1666.zip |
Fix template parameter default args missed if redecled
This bug was found via self-build on lld, and worked around
here: https://reviews.llvm.org/rL316180
The issue is that the 'using' causes the lookup to pick up the
first decl. However, when setting inherited default parameters,
we only update 'forward', not 'backward'. SO, only the newest param
list has all the information about the default arguments.
This patch ensures that the list of parameters we look through checks
the newest decl's template parameter list so it doesn't miss a default.
Differential Revision: https://reviews.llvm.org/D39127
llvm-svn: 316405
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/gmodules.py')
0 files changed, 0 insertions, 0 deletions