summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-10-06 21:23:38 +0000
committerEric Fiselier <eric@efcs.ca>2016-10-06 21:23:38 +0000
commit98131319364b2e0d2c0a9e64e385906158be8128 (patch)
tree76d668fba1fd86adc3f1ed387644ff78fa52242c /lldb/packages/Python
parent4fa098a5c0223dab6ae10da6f01541e943cc0bbf (diff)
downloadbcm5719-llvm-98131319364b2e0d2c0a9e64e385906158be8128.tar.gz
bcm5719-llvm-98131319364b2e0d2c0a9e64e385906158be8128.zip
[coroutines] Fix co_return statement for initializer list arguments
Summary: Previously the statement `co_return {42}` would be transformed into `P.return_void()`, since the type of `{42}` is represented as `void` by Clang. This patch fixes the bug by checking for `InitListExpr` arguments and transforming them accordingly. Reviewers: majnemer, GorNishanov, rsmith Subscribers: mehdi_amini, cfe-commits Differential Revision: https://reviews.llvm.org/D25296 llvm-svn: 283495
Diffstat (limited to 'lldb/packages/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud