From abd335be37597e8c0e1ea052df1f2233da6d24c9 Mon Sep 17 00:00:00 2001 From: "Kaz Saita(raspi5)" Date: Mon, 28 Oct 2024 17:30:07 +0900 Subject: [PATCH] sync notes(auto) --- content/20241028171514 clang-format.md | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 content/20241028171514 clang-format.md diff --git a/content/20241028171514 clang-format.md b/content/20241028171514 clang-format.md new file mode 100644 index 0000000..0867217 --- /dev/null +++ b/content/20241028171514 clang-format.md @@ -0,0 +1,34 @@ +# 20241028171514 clang-format +#c #cpp #coding #standard + +木下研究所のclang-formatはこんなです。 + +``` +Standard: Auto +BasedOnStyle: LLVM +IndentWidth: 4 +ColumnLimit: 0 +AccessModifierOffset: -4 +NamespaceIndentation: None +BreakBeforeBraces: Custom +PointerAlignment: Left +AlignConsecutiveAssignments: true +SortIncludes: false +FixNamespaceComments: false +IndentPPDirectives: None +UseTab: Never +BraceWrapping: + AfterEnum: true + AfterStruct: true + AfterClass: true + SplitEmptyFunction: true + AfterControlStatement: false + AfterNamespace: true + AfterFunction: true + AfterUnion: true + AfterExternBlock: false + BeforeCatch: false + BeforeElse: false + SplitEmptyRecord: true + SplitEmptyNamespace: true +```