diff options
author | Li Jin <dragon-fly@qq.com> | 2022-08-19 18:05:31 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-08-19 18:05:31 +0800 |
commit | 2ef8f936224fe8506673561d033142aeddcc44c1 (patch) | |
tree | 274c816874b28cf363d3aec0ef7c9a9b1a630c02 /src/.clang-format | |
parent | a4d4893c77f9c48dedc88472a2e418bfd65e33a1 (diff) | |
download | yuescript-2ef8f936224fe8506673561d033142aeddcc44c1.tar.gz yuescript-2ef8f936224fe8506673561d033142aeddcc44c1.tar.bz2 yuescript-2ef8f936224fe8506673561d033142aeddcc44c1.zip |
fix format.
Diffstat (limited to 'src/.clang-format')
-rw-r--r-- | src/.clang-format | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/.clang-format b/src/.clang-format new file mode 100644 index 0000000..5d305ae --- /dev/null +++ b/src/.clang-format | |||
@@ -0,0 +1,17 @@ | |||
1 | # Format Style Options - Created with Clang Power Tools | ||
2 | --- | ||
3 | BasedOnStyle: WebKit | ||
4 | AllowShortCaseLabelsOnASingleLine: true | ||
5 | AllowShortIfStatementsOnASingleLine: WithoutElse | ||
6 | AllowShortLoopsOnASingleLine: true | ||
7 | BreakBeforeBraces: Attach | ||
8 | Cpp11BracedListStyle: true | ||
9 | IndentCaseLabels: true | ||
10 | NamespaceIndentation: None | ||
11 | SpaceBeforeCpp11BracedList: false | ||
12 | TabWidth: 4 | ||
13 | AlignEscapedNewlines: DontAlign | ||
14 | AlwaysBreakBeforeMultilineStrings: true | ||
15 | FixNamespaceComments: true | ||
16 | UseTab: Always | ||
17 | ... | ||