summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/context-object-objc
diff options
context:
space:
mode:
authorAaron Puchert <aaronpuchert@alice-dsl.net>2020-04-22 20:05:36 +0200
committerTom Stellard <tstellar@redhat.com>2020-05-06 20:08:58 -0700
commit9c80516d3e3aae34b7dd7ee0204170c888fd7235 (patch)
treea8f1b66337fdd28931a8b7193512d0eff97fbbeb /lldb/packages/Python/lldbsuite/test/commands/expression/context-object-objc
parent1d1469ab64294a6a18410310e0f77f590ee4ba7c (diff)
downloadbcm5719-llvm-9c80516d3e3aae34b7dd7ee0204170c888fd7235.tar.gz
bcm5719-llvm-9c80516d3e3aae34b7dd7ee0204170c888fd7235.zip
PR45000: Let Sema::SubstParmVarDecl handle default args of lambdas in initializers
Summary: We extend the behavior for local functions and methods of local classes to lambdas in variable initializers. The initializer is not a separate scope, but we treat it as such. We also remove the (faulty) instantiation of default arguments in TreeTransform::TransformLambdaExpr, because it doesn't do proper initialization, and if it did, we would do it twice (and thus also emit eventual errors twice). Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D76038 (cherry picked from commit f43859a099fa3587123717be941fa63ba8d0d4f2)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/context-object-objc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud