[clang-format] Add better support for co-routinues
Responding to a Discord call to help {D113977} and heavily inspired by the unlanded {D34225} add some support to help coroutinues from not being formatted from ```for co_await(auto elt : seq)``` to ``` for co_await(auto elt : seq) ``` Because of the dominance of clang-format in the C++ community, I don't think we should make it the blocker that prevents users from embracing the newer parts of the standard because we butcher the layout of some of the new constucts. Reviewed By: HazardyKnusperkeks, Quuxplusone, ChuanqiXu Differential Revision: https://reviews.llvm.org/D114859
Loading
Please register or sign in to comment