From 73012534918d8c65ae748fff8ca18ad5c857b82e Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Fri, 29 Jan 2021 17:13:49 +0100 Subject: [PATCH] Add IncludeBlocks to clang-format. This should make "git cl format" compliant with [1]. [1] - https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes Bug: None Change-Id: Iaccae6c37965e390de8f8a3fe8e3866f51690b5a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/204485 Reviewed-by: Harald Alvestrand Reviewed-by: Tommi Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#33151} --- .clang-format | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.clang-format b/.clang-format index 11a44d587c..63ebecbce1 100644 --- a/.clang-format +++ b/.clang-format @@ -19,3 +19,6 @@ BreakBeforeTernaryOperators: false IndentWrappedFunctionNames: true ContinuationIndentWidth: 4 ObjCSpaceBeforeProtocolList: true +--- +Language: Cpp +IncludeBlocks: Regroup