From 1b6e5d984bad351f7ec96687854bfc52cfc83dac Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 14 Oct 2020 02:01:37 +0300 Subject: add .clang-format --- .clang-format | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..6a036ac --- /dev/null +++ b/.clang-format @@ -0,0 +1,22 @@ +--- +Language: Cpp +BasedOnStyle: Chromium + +AccessModifierOffset: -4 +ColumnLimit: 100 +IncludeBlocks: Regroup +IndentWidth: 4 +SpacesBeforeTrailingComments: 1 + +IncludeCategories: + - Regex: '^".*' + Priority: 1 + - Regex: '^<(winapi)/' + Priority: 2 + - Regex: '^$' + Priority: 4 + - Regex: '.*' + Priority: 5 +... -- cgit v1.2.3