summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2016-12-13 10:54:48 -0700
committerMark Lobodzinski <mark@lunarg.com>2016-12-13 13:00:34 -0700
commit869d13762cdacf7e24b0148bbd4b4b22b57e2839 (patch)
tree08e4f3b4416e8e0a61785e25936e3e498a8f6193 /.clang-format
parent0c5e804d968add0ce21ea0e5079a382b55c34c4c (diff)
downloadVulkan-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
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 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
...