aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorJorge E. Moreira <jemoreira@google.com>2021-09-29 19:47:27 -0700
committerJorge Moreira Broche <jemoreira@google.com>2021-10-01 17:07:01 +0000
commitd0261f6359c82100847f70da2ae9d6ed5d81848f (patch)
treed32ff876779daa6154f47b855068400702814751 /.clang-format
parent74e2f7d567aeca77a69cca0252bd591c81ff7994 (diff)
downloadcuttlefish-d0261f6359c82100847f70da2ae9d6ed5d81848f.tar.gz
Preserve include blocks with clang-format
This helps follow the "Names and Order of Includes" section of the google style guide (https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes) Bug: None Test: clang-format --style=file Change-Id: Ib69690a8f18a2dfa752fe96e7cf7ba77a7b2909c
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 9f9ffe36d..a03f8b344 100644
--- a/.clang-format
+++ b/.clang-format
@@ -19,3 +19,4 @@
# of the below options.
BasedOnStyle: Google
+IncludeBlocks: Preserve