summaryrefslogtreecommitdiff
path: root/flang/.clang-format
diff options
context:
space:
mode:
authorDavid Truby <david.truby@arm.com>2020-03-18 16:02:53 +0000
committerDavid Truby <david.truby@arm.com>2020-03-23 17:52:22 +0000
commit3214c18774f9f4574cc00cb9651ea142d7a74d76 (patch)
treec4843e666baf857358f30e8ea0448ad85029644e /flang/.clang-format
parent37524c901a82353e8aac3083d6867b7112dac712 (diff)
downloadllvm-3214c18774f9f4574cc00cb9651ea142d7a74d76.tar.gz
[flang] Remove non-alignment based divergences from LLVM formatting.
This only changs the clang-format file and adds documentation referring to the new process for formatting code. A future commit will perform a reformatting according to these new formatting settings. Original-commit: flang-compiler/f18@02531d788e7550a2455633f87d22e3f30de7a3a7 Reviewed-on: https://github.com/flang-compiler/f18/pull/945
Diffstat (limited to 'flang/.clang-format')
-rw-r--r--flang/.clang-format6
1 files changed, 0 insertions, 6 deletions
diff --git a/flang/.clang-format b/flang/.clang-format
index 21fb1ae51ac5..c1dfe06fdf57 100644
--- a/flang/.clang-format
+++ b/flang/.clang-format
@@ -3,16 +3,10 @@
BasedOnStyle: LLVM
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: DontAlign
-AllowShortCaseLabelsOnASingleLine: true
-AllowShortIfStatementsOnASingleLine: true
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: false
AlignTrailingComments: false
-ConstructorInitializerIndentWidth: 2
-SpaceAfterTemplateKeyword: false
-SpacesBeforeTrailingComments: 2
-FixNamespaceComments: false
IncludeCategories:
- Regex: '^<'
Priority: 4