aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectGUI.cpp
diff options
context:
space:
mode:
authorMatheus Izvekov <mizvekov@gmail.com>2021-03-19 03:32:06 +0100
committerMatheus Izvekov <mizvekov@gmail.com>2021-06-17 01:56:38 +0200
commit12c90e2e25dfd1d38250055efc21acb42d158912 (patch)
treed2fef87c951dbb03e84495c707c4c2677431e35e /lldb/source/Commands/CommandObjectGUI.cpp
parentb5e22e6d4207cf939618492d365293fe6035075d (diff)
downloadllvm-12c90e2e25dfd1d38250055efc21acb42d158912.zip
llvm-12c90e2e25dfd1d38250055efc21acb42d158912.tar.gz
llvm-12c90e2e25dfd1d38250055efc21acb42d158912.tar.bz2
[clang] NRVO: Improvements and handling of more cases.
This expands NRVO propagation for more cases: Parse analysis improvement: * Lambdas and Blocks with dependent return type can have their variables marked as NRVO Candidates. Variable instantiation improvements: * Fixes crash when instantiating NRVO variables in Blocks. * Functions, Lambdas, and Blocks which have auto return type have their variables' NRVO status propagated. For Blocks with non-auto return type, as a limitation, this propagation does not consider the actual return type. This also implements exclusion of VarDecls which are references to dependent types. Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Reviewed By: Quuxplusone Differential Revision: https://reviews.llvm.org/D99696
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions