aboutsummaryrefslogtreecommitdiff
path: root/src/.clang-format
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-08-19 18:05:31 +0800
committerLi Jin <dragon-fly@qq.com>2022-08-19 18:05:31 +0800
commit2ef8f936224fe8506673561d033142aeddcc44c1 (patch)
tree274c816874b28cf363d3aec0ef7c9a9b1a630c02 /src/.clang-format
parenta4d4893c77f9c48dedc88472a2e418bfd65e33a1 (diff)
downloadyuescript-2ef8f936224fe8506673561d033142aeddcc44c1.tar.gz
yuescript-2ef8f936224fe8506673561d033142aeddcc44c1.tar.bz2
yuescript-2ef8f936224fe8506673561d033142aeddcc44c1.zip
fix format.
Diffstat (limited to 'src/.clang-format')
-rw-r--r--src/.clang-format17
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---
3BasedOnStyle: WebKit
4AllowShortCaseLabelsOnASingleLine: true
5AllowShortIfStatementsOnASingleLine: WithoutElse
6AllowShortLoopsOnASingleLine: true
7BreakBeforeBraces: Attach
8Cpp11BracedListStyle: true
9IndentCaseLabels: true
10NamespaceIndentation: None
11SpaceBeforeCpp11BracedList: false
12TabWidth: 4
13AlignEscapedNewlines: DontAlign
14AlwaysBreakBeforeMultilineStrings: true
15FixNamespaceComments: true
16UseTab: Always
17...