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 <hta@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33151}
This commit is contained in:
Mirko Bonadei 2021-01-29 17:13:49 +01:00 committed by Commit Bot
parent 14cad9fa35
commit 7301253491

View file

@ -19,3 +19,6 @@ BreakBeforeTernaryOperators: false
IndentWrappedFunctionNames: true IndentWrappedFunctionNames: true
ContinuationIndentWidth: 4 ContinuationIndentWidth: 4
ObjCSpaceBeforeProtocolList: true ObjCSpaceBeforeProtocolList: true
---
Language: Cpp
IncludeBlocks: Regroup