summaryrefslogtreecommitdiff
path: root/pstl/.clang-format
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2018-12-19 17:45:32 +0000
committerJF Bastien <jfbastien@apple.com>2018-12-19 17:45:32 +0000
commite637637ae46a5b2fa1e9d10c16ae5b0922289f82 (patch)
tree1bd45f3e03d8bbb85a9dca6b46015769d521b186 /pstl/.clang-format
parent5d409b22781f5854f1bac3fd60c8499af0c865bf (diff)
downloadllvm-e637637ae46a5b2fa1e9d10c16ae5b0922289f82.tar.gz
Initial PSTL commit
The initial commit of the Parallel STL upstream (under LLVM umbrella) based on Parallel STL 20181204 open source release, which is available by https://github.com/intel/parallelstl Author: Mikhail Dvorskiy <mikhail.dvorskiy@intel.com> Differential Revision: https://reviews.llvm.org/D55889 llvm-svn: 349653
Diffstat (limited to 'pstl/.clang-format')
-rw-r--r--pstl/.clang-format17
1 files changed, 17 insertions, 0 deletions
diff --git a/pstl/.clang-format b/pstl/.clang-format
new file mode 100644
index 000000000000..e6585794e0e4
--- /dev/null
+++ b/pstl/.clang-format
@@ -0,0 +1,17 @@
+BasedOnStyle: LLVM
+
+Language: Cpp
+Standard: Cpp11
+
+IndentWidth: 4
+ColumnLimit: 120
+
+AlwaysBreakTemplateDeclarations: true
+AlwaysBreakAfterReturnType: All
+PointerAlignment: Left
+AllowShortIfStatementsOnASingleLine: false
+BreakBeforeBraces: Allman
+
+# Disable formatting options which may break tests.
+SortIncludes: false
+ReflowComments: false