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
commitd30c707392c5e5deed6dcd3f4a73a18f1c7d18b1 (patch)
tree7d229b848b324a0921b5fa5aa1bfbf5356aba77d /.clang-format
parentccde29c12e76d93133ec01c8b297f83f99abb545 (diff)
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 74049cfe..548df8d0 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
...