.clang-format 707 B

123456789101112131415161718
  1. # Run manually to reformat a file:
  2. # clang-format -i --style=file <file>
  3. # find . -iname '*.cc' -o -iname '*.h' -o -iname '*.h.in' | xargs clang-format -i --style=file
  4. BasedOnStyle: Google
  5. DerivePointerAlignment: false
  6. # Public headers are in a different location in the internal Google repository.
  7. # Order them so that when imported to the authoritative repository they will be
  8. # in correct alphabetical order.
  9. IncludeCategories:
  10. - Regex: '^(<|"(benchmarks|db|helpers)/)'
  11. Priority: 1
  12. - Regex: '^"(leveldb)/'
  13. Priority: 2
  14. - Regex: '^(<|"(issues|port|table|third_party|util)/)'
  15. Priority: 3
  16. - Regex: '.*'
  17. Priority: 4