owenpan marked an inline comment as done. owenpan added inline comments.
================ Comment at: clang/unittests/Format/FormatTest.cpp:18472 + FormatStyle::PCIS_Never); + Style.EmptyLineBeforeAccessModifier = FormatStyle::ELBAMS_LogicalBlock; ---------------- owenpan wrote: > HazardyKnusperkeks wrote: > > Should there be a test for the mapping? > Ideally yes, but `CHECK_PARSE` can't check mappings of multiple to one, e.g.: > ``` > CHECK_PARSE("ConstructorInitializerAllOnOneLineOrOnePerLine: true\n" > "AllowAllConstructorInitializersOnNextLine: false", > PackConstructorInitializers, FormatStyle::PCIS_CurrentLine); > ``` Added the tests in https://reviews.llvm.org/D108882. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108752/new/ https://reviews.llvm.org/D108752 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits