This is an archive of the discontinued LLVM Phabricator instance.

Updated <experimental/task> WIP
AbandonedPublic

Authored by lewissbaker on May 1 2018, 7:03 AM.

Details

Reviewers
None
Summary

Addressed some feedback from initial version.

  • factored out allocator padding calculations
  • use anonymous unions instead of char-buffers and reinterpret_cast
  • make co_await'ing an invalid task have undefined behaviour
  • run clang-format over the file to fix some formatting

Diff Detail