[PATCH] D143091: [clang-format] PackConstructorInitializers support PCIS_NextLineOnly
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 4 17:01:12 PST 2023
owenpan added inline comments.
================
Comment at: clang/lib/Format/Format.cpp:446
IO.enumCase(Value, "NextLine", FormatStyle::PCIS_NextLine);
+ IO.enumCase(Value, "OnlyNextLine", FormatStyle::PCIS_NextLineOnly);
}
----------------
================
Comment at: clang/unittests/Format/ConfigParseTest.cpp:403
PackConstructorInitializers, FormatStyle::PCIS_NextLine);
+ CHECK_PARSE("PackConstructorInitializers: OnlyNextLine",
+ PackConstructorInitializers, FormatStyle::PCIS_NextLineOnly);
----------------
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143091/new/
https://reviews.llvm.org/D143091
More information about the cfe-commits
mailing list