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/PythonDataObjects.cpp | |
| parent | e5291c4ae3f7272ca3901d1189d30e23fd578193 (diff) | |
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/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
