aboutsummaryrefslogtreecommitdiff
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
commit249e2763ff506c01554869602b2f6682aa0ae1cd (patch)
tree6deca0988f14eec2dc14ffe81a48ff5512c98ce6
parentd14b7bb4da583ce4d535ddcccb6cbed88c766ee9 (diff)
downloadusermoji-249e2763ff506c01554869602b2f6682aa0ae1cd.tar.xz
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-format1
-rw-r--r--layers/.clang-format1
2 files changed, 2 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
...
diff --git a/layers/.clang-format b/layers/.clang-format
index cd70ac16..fca66709 100644
--- a/layers/.clang-format
+++ b/layers/.clang-format
@@ -3,4 +3,5 @@
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 132
+SortIncludes: false
...