[clang] [clang-format] Fix formatting of `requires` expressions in braced initializers (PR #163005)

Ruoyu Zhong via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 11 12:16:41 PDT 2025


================
@@ -26973,6 +26973,12 @@ TEST_F(FormatTest, RequiresExpressionIndentation) {
                Style);
 }
 
+TEST_F(FormatTest, RequiresExpressionInBracedInitializer) {
----------------
ZhongRuoyu wrote:

Thanks. In 56c49be38b2f26ee1c151b8a83629693fcdf17cc I opted for the latter option for the sake of better test coverage. Happy to further iterate if needed.


https://github.com/llvm/llvm-project/pull/163005


More information about the cfe-commits mailing list