diff options
author | Mark Lobodzinski <mark@lunarg.com> | 2016-12-13 10:54:48 -0700 |
---|---|---|
committer | Mark Lobodzinski <mark@lunarg.com> | 2016-12-13 13:00:34 -0700 |
commit | 869d13762cdacf7e24b0148bbd4b4b22b57e2839 (patch) | |
tree | 08e4f3b4416e8e0a61785e25936e3e498a8f6193 | |
parent | 0c5e804d968add0ce21ea0e5079a382b55c34c4c (diff) | |
download | Vulkan-ValidationLayers-869d13762cdacf7e24b0148bbd4b4b22b57e2839.tar.gz Vulkan-ValidationLayers-869d13762cdacf7e24b0148bbd4b4b22b57e2839.tar.bz2 Vulkan-ValidationLayers-869d13762cdacf7e24b0148bbd4b4b22b57e2839.zip |
build: Disable clang-format header reordering
By default, clang-format will sort header files which often breaks
compilation. Added an option to the main, tests, and layers versions
of these files to disable header reordering.
Change-Id: Ic0cc5727b83d14d5f3962f3ecff7b6bf5e4c5fb9
-rw-r--r-- | .clang-format | 1 | ||||
-rw-r--r-- | layers/.clang-format | 1 | ||||
-rw-r--r-- | tests/.clang-format | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index 74049cfe3..548df8d0d 100644 --- a/.clang-format +++ b/.clang-format @@ -2,4 +2,5 @@ # We'll use defaults from the LLVM style, but with 4 columns indentation. BasedOnStyle: LLVM IndentWidth: 4 +SortIncludes: false ... diff --git a/layers/.clang-format b/layers/.clang-format index cd70ac163..fca667092 100644 --- a/layers/.clang-format +++ b/layers/.clang-format @@ -3,4 +3,5 @@ BasedOnStyle: LLVM IndentWidth: 4 ColumnLimit: 132 +SortIncludes: false ... diff --git a/tests/.clang-format b/tests/.clang-format index cd70ac163..fca667092 100644 --- a/tests/.clang-format +++ b/tests/.clang-format @@ -3,4 +3,5 @@ BasedOnStyle: LLVM IndentWidth: 4 ColumnLimit: 132 +SortIncludes: false ... |