diff options
author | Aaron Puchert <aaronpuchert@alice-dsl.net> | 2020-04-22 20:05:36 +0200 |
---|---|---|
committer | Aaron Puchert <aaronpuchert@alice-dsl.net> | 2020-04-22 22:37:21 +0200 |
commit | f43859a099fa3587123717be941fa63ba8d0d4f2 (patch) | |
tree | 895592dbaca002ed6f76754137099917d240eb95 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | e5291c4ae3f7272ca3901d1189d30e23fd578193 (diff) | |
download | llvm-f43859a099fa3587123717be941fa63ba8d0d4f2.zip llvm-f43859a099fa3587123717be941fa63ba8d0d4f2.tar.gz llvm-f43859a099fa3587123717be941fa63ba8d0d4f2.tar.bz2 |
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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions