[PATCH] D59210: clang-format: distinguish ObjC call subexpressions after r355434

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 11 07:37:36 PDT 2019


MyDeveloperDay added a comment.

most of the cases that we were adding here were for a templated return types

e.g.

  verifyFormat("[]() -> foo<5 + 2> { return {}; };");
  verifyFormat("[]() -> foo<5 - 2> { return {}; };");

So we should probably have handle that "-> (return type)", where the return type contains <XXX> separately, where those operation tokens are inside the XXX


Repository:
  rC Clang

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

https://reviews.llvm.org/D59210





More information about the cfe-commits mailing list