[PATCH] D93626: [clang-format] PR48535 clang-format Incorrectly Removes Space After C Style Cast When Type Is Not a Pointer

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 13 02:47:02 PDT 2021


MyDeveloperDay added a comment.

This fix seems to cause a regression. (https://bugs.llvm.org/show_bug.cgi?id=50326) causing ColumLimit to not be observed in the following example

  size_t foo = (*(function))(
      Foooo, Barrrrr, Foooo, Barrrr, FoooooooooLooooong, BarrrrrrrrrrrrLong,
      FoooooooooLooooong);

becomes

    size_t foo = (*(
        function))(Foooo, Barrrrr, Foooo, Barrrr, FoooooooooLooooong, Barrrrrrrrrr
  rrLong, FoooooooooLooooong);

after this change


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93626



More information about the cfe-commits mailing list