[llvm-dev] [PATCH 0/2] [clang-format] Add new configurations
Anton Korobeynikov via llvm-dev
llvm-dev at lists.llvm.org
Thu Nov 19 14:10:15 PST 2020
Hello
Please refer to Developer policy
(http://llvm.org/docs/DeveloperPolicy.html#making-and-submitting-a-patch)
for guidance about patch submission.
On Thu, Nov 19, 2020 at 3:40 PM Anastasiia Lukianenko via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> From: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
>
> We are trying to use the clang-format approach as a base for Xen [1]
> style formatting.
> During the state of testing clang-format with different configurations,
> we found that some points regarding the Xen coding style are not
> configurable. Therefore, we decided to add them to be able to make a
> choice in different cases.
>
> Regards,
> Anastasiia
>
> [1] - https://xenproject.org/
>
> Anastasiia Lukianenko (2):
> [clang-format] Add BreakBeforeStructInitialization configuration
> [clang-format] Add BreakBeforeInlineASMColon configuration
>
> clang/include/clang/Format/Format.h | 32 +++++++++++++++++++++++
> clang/lib/Format/ContinuationIndenter.cpp | 4 ++-
> clang/lib/Format/Format.cpp | 6 +++++
> clang/lib/Format/TokenAnnotator.cpp | 3 +++
> 4 files changed, 44 insertions(+), 1 deletion(-)
>
> --
> 2.17.1
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
--
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University
More information about the llvm-dev
mailing list