[PATCH] D65043: [Format] Add C++20 standard to style options

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 13 07:10:47 PDT 2019


sammccall added a comment.

Not sure if this patch is still live?

I implemented the suggestion from the last round in D67541 <https://reviews.llvm.org/D67541>.
I didn't add the coroutine tests, as clang-format doesn't seem to get any coroutine cases right in 20 mode that it missed in 17 mode. Instead I found a case that differed using `char8_t` and macros.

(For actual coroutine support, treating `co_return` and `co_yield` like `return` everywhere might make sense)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65043/new/

https://reviews.llvm.org/D65043





More information about the cfe-commits mailing list