]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/.clang-format
xnu-3789.1.32.tar.gz
[apple/xnu.git] / libkern / .clang-format
deleted file mode 120000 (symlink)
index f91369598c88c6210f41092f21b0c86d748d5970..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-./iokit/.clang-format
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..cd99c24e512e0ab242267b97e5d4528f8c4eabe4
--- /dev/null
@@ -0,0 +1,30 @@
+# See top level .clang-format for explanation of options
+AlignEscapedNewlinesLeft: true
+AlignTrailingComments: true
+AllowAllParametersOfDeclarationOnNextLine: true
+AllowShortBlocksOnASingleLine: true
+AllowShortCaseLabelsOnASingleLine: true
+AllowShortFunctionsOnASingleLine: None
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+AlwaysBreakAfterDefinitionReturnType: false
+AlwaysBreakBeforeMultilineStrings: true
+BinPackArguments: true
+BinPackParameters: false
+BreakBeforeBinaryOperators: None
+BreakBeforeBraces: Allman
+ColumnLimit: 132
+IndentCaseLabels: false
+IndentWidth: 4
+IndentWrappedFunctionNames: false
+KeepEmptyLinesAtTheStartOfBlocks: false
+PointerAlignment: Middle
+SpaceAfterCStyleCast: false
+SpaceBeforeAssignmentOperators: true
+SpaceBeforeParens: ControlStatements
+SpaceInEmptyParentheses: false
+SpacesInCStyleCastParentheses: false
+SpacesInParentheses: false
+SpacesInSquareBrackets: false
+TabWidth: 4
+UseTab: Never