小组成员:姚凯文(kevinyao0901),姜嘉琪
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
707 B

  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