[PATCH] D91245: [clang-format] Recognize c++ coroutine keywords as unary operator to avoid misleading pointer alignment

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 15 04:19:50 PST 2020


MyDeveloperDay added a comment.

I don't like seeing users having to use ```// clang-format off```

  auto try_sequence = [](int& ref) -> return_ignore {
              /* clang-format off */
              for co_await(int v : return_random_int())
                  ref = v;
              /* clang-format on*/
          };

it would be nice if we could land a co_routines improvement


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

https://reviews.llvm.org/D91245



More information about the cfe-commits mailing list