[PATCH] D156705: [clang-format] Fix braced initializer formatting with templated base class initializer

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 31 12:57:03 PDT 2023


HazardyKnusperkeks added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:13461
       "  A() : a{} {}\n"
+      "  A() : Base<int>{} {}\n"
       "  A(int b) : b(b) {}\n"
----------------
Please also add nested templates.


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

https://reviews.llvm.org/D156705



More information about the cfe-commits mailing list