[PATCH] D50078: clang-format: support aligned nested conditionals formatting

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 28 09:15:49 PDT 2020


MyDeveloperDay added a comment.

I wondered if it was the < and [] causing issues

  return aaaaaaagggbbbbbbb ? ccccccceeeddddddd ? 0 : 2
                           : fffffffffffffffffff ? 1 : 2;

but it seem its not

  return aaaaaaagggbbbbbbb     ? ccccccceeeddddddd ? 0 : 2
         : fffffffffffffffffff ? 1
                               : 2;


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D50078





More information about the cfe-commits mailing list