[PATCH] D124589: [clang-format] Fix a bug that misformats Access Specifier after *[]

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 02:24:09 PDT 2022


curdeius added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:3342
+               "public:\n"
+               "  std::unique_ptr<int *[]> b() { return nullptr; }\n"
+               "\n"
----------------
How about `int const *`, `const int*`? Is `const` & co. a simple type specifier?


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

https://reviews.llvm.org/D124589



More information about the cfe-commits mailing list