style(3p/nix): Change include formatting config for clang-format

Changes the configuration to regroup all includes. The include groups
will be (in this order):

1. (in .cc): Include of the corresponding header
2. Includes of C++ standard library headers
3. Includes of other external headers
4. Includes of local headers
This commit is contained in:
Vincent Ambo 2020-05-19 15:51:15 +01:00
parent 1086072d3d
commit b508f5b91a

View file

@ -2,5 +2,10 @@
BasedOnStyle: Google
DerivePointerAlignment: false
PointerAlignment: Left
IncludeBlocks: Merge
CommentPragmas: '(@copydoc)'
IncludeCategories:
- Regex: '^<.*\.h>'
Priority: 2
- Regex: '^<.*'
Priority: 1
- Regex: '.*'
Priority: 3