summaryrefslogtreecommitdiff
path: root/libs/openssl-3.6.0-beta1/projects/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to 'libs/openssl-3.6.0-beta1/projects/.clang-format')
-rw-r--r--libs/openssl-3.6.0-beta1/projects/.clang-format36
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/openssl-3.6.0-beta1/projects/.clang-format b/libs/openssl-3.6.0-beta1/projects/.clang-format
new file mode 100644
index 0000000..989ce30
--- /dev/null
+++ b/libs/openssl-3.6.0-beta1/projects/.clang-format
@@ -0,0 +1,36 @@
+# see https://clang.llvm.org/docs/ClangFormatStyleOptions.html
+---
+BasedOnStyle: llvm
+Language: Cpp
+Standard: Cpp11
+
+ColumnLimit: 135
+
+AccessModifierOffset: -4
+IndentWidth: 4
+UseTab: Never
+LineEnding: LF
+
+BreakBeforeBraces: Stroustrup
+# note: ignored due to Stroustrup brace breaking
+BraceWrapping:
+ AfterControlStatement: MultiLine
+
+AlignEscapedNewlines: Left
+AllowShortFunctionsOnASingleLine: Empty
+AllowShortLambdasOnASingleLine: Empty
+AlwaysBreakTemplateDeclarations: true
+BreakConstructorInitializers: BeforeComma
+IndentPPDirectives: AfterHash
+PointerAlignment: Left
+BreakBeforeTernaryOperators: false
+IndentRequires: true
+SpaceAfterTemplateKeyword: false
+StatementMacros: ['TEST_CLASS', 'TEST_METHOD']
+IncludeBlocks: Regroup
+IncludeCategories:
+ - Regex: '<openssl/'
+ Priority: 3
+ # C++ headers
+ - Regex: '<[[:alpha:]_]+>'
+ Priority: 1