[PATCH] D153205: [clang-format] Add new block type ListInit
Gedare Bloom via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 17 21:51:50 PDT 2023
gedare added a comment.
In D153205#4430528 <https://reviews.llvm.org/D153205#4430528>, @owenpan wrote:
> It seems to me that there has been a proliferation of new options being proposed and/or accepted recently. I'd like to remind everyone of the long-standing policy <https://clang.llvm.org/docs/ClangFormatStyleOptions.html#adding-additional-style-options> of adding new options. That being said, I wonder if we should add a new language `LK_C` along with its variants C78 (i.e. K&R C), C89 (i.e. ANSI C), GNU extensions (e.g. #55745 <https://github.com/llvm/llvm-project/issues/55745> and #62755 <https://github.com/llvm/llvm-project/issues/62755>), etc.
Understood. In this case, the `BK_ListInit` is not visible at the API / Style level. It is an internal categorization to help distinguish different kinds of blocks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153205/new/
https://reviews.llvm.org/D153205
More information about the cfe-commits
mailing list