diff options
author | Brian Gesiak <modocache@gmail.com> | 2018-01-24 22:15:42 +0000 |
---|---|---|
committer | Brian Gesiak <modocache@gmail.com> | 2018-01-24 22:15:42 +0000 |
commit | 61f4ac98e019e0e7ce5adbc58474fdcf7f49c300 (patch) | |
tree | b0027f41c94b5e5b1aba481557ef6fdb42c8fc8b /clang/test/Analysis/malloc.c | |
parent | 292617e7003efdbc4dd84bc49423dc662f856fb6 (diff) | |
download | bcm5719-llvm-61f4ac98e019e0e7ce5adbc58474fdcf7f49c300.tar.gz bcm5719-llvm-61f4ac98e019e0e7ce5adbc58474fdcf7f49c300.zip |
[coroutines] Pass coro func args to promise ctor
Summary:
Use corutine function arguments to initialize a promise type, but only
if the promise type defines a constructor that takes those arguments.
Otherwise, fall back to the default constructor.
Test Plan: check-clang
Reviewers: rsmith, GorNishanov, eric_niebler
Reviewed By: GorNishanov
Subscribers: toby-allsopp, lewissbaker, EricWF, cfe-commits
Differential Revision: https://reviews.llvm.org/D41820
llvm-svn: 323381
Diffstat (limited to 'clang/test/Analysis/malloc.c')
0 files changed, 0 insertions, 0 deletions