您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
707 B

3 周前
  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