summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/exprpath_synthetic
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-08-26 22:51:28 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-08-26 22:51:28 +0000
commitb26bc34e3a77cab8b2773c69f27198f77f993090 (patch)
tree196fc6c3e4e111c21deb21f5a7837de86caf4199 /lldb/packages/Python/lldbsuite/test/python_api/exprpath_synthetic
parentf837bb4a3443b374b29336a9058035c15a240b9c (diff)
downloadbcm5719-llvm-b26bc34e3a77cab8b2773c69f27198f77f993090.tar.gz
bcm5719-llvm-b26bc34e3a77cab8b2773c69f27198f77f993090.zip
PR42587: diagnose unexpanded uses of a pack parameter of a generic
lambda from within the lambda-declarator. Instead of trying to reconstruct whether a parameter pack was declared inside a lambda (which we can't do correctly in general because we might not have attached parameters to their declaration contexts yet), track the set of parameter packs introduced in each live lambda scope, and require only those parameters to be immediately expanded when they appear inside that lambda. In passing, fix incorrect disambiguation of a lambda-expression starting with an init-capture pack in a braced-init-list. We previously incorrectly parsed that as a designated initializer. llvm-svn: 369985
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/exprpath_synthetic')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud