aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-10-24 01:39:56 +0000
committerErich Keane <erich.keane@intel.com>2017-10-24 01:39:56 +0000
commitaf0795b906f372be504a7eb499ffe44d83fa1666 (patch)
tree8adbb69cb28811e1c23dbd5f7191a82cc6e59492 /lldb/packages/Python/lldbsuite/test
parent9ce2d03e5421979f9f007ec01d5aa429c36822ed (diff)
downloadllvm-af0795b906f372be504a7eb499ffe44d83fa1666.zip
llvm-af0795b906f372be504a7eb499ffe44d83fa1666.tar.gz
llvm-af0795b906f372be504a7eb499ffe44d83fa1666.tar.bz2
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/test')
0 files changed, 0 insertions, 0 deletions