tvl-depot/third_party/nix/.clang-format
Vincent Ambo b508f5b91a 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
2020-05-19 15:55:09 +01:00

11 lines
237 B
YAML

# Use the Google style in this project.
BasedOnStyle: Google
DerivePointerAlignment: false
PointerAlignment: Left
IncludeCategories:
- Regex: '^<.*\.h>'
Priority: 2
- Regex: '^<.*'
Priority: 1
- Regex: '.*'
Priority: 3