From 249e2763ff506c01554869602b2f6682aa0ae1cd Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Tue, 13 Dec 2016 10:54:48 -0700 Subject: 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 --- .clang-format | 1 + layers/.clang-format | 1 + 2 files changed, 2 insertions(+) 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 ... -- cgit v1.2.3