[PATCH] D69577: [clang-format] [PR35518] C++17 deduction guides are wrongly formatted

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 30 02:21:46 PDT 2019


MyDeveloperDay added a comment.

In D69577#1726587 <https://reviews.llvm.org/D69577#1726587>, @lichray wrote:

> Should we find a way to set `->`'s type to `TT_TrailingReturnArrow`?


that's possible then we might be able to use the existing spaces before rule

  if (Right.isOneOf(TT_TrailingReturnArrow, TT_LambdaArrow) ||
      Left.isOneOf(TT_TrailingReturnArrow, TT_LambdaArrow))
    return true;


Repository:
  rC Clang

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

https://reviews.llvm.org/D69577





More information about the cfe-commits mailing list