/ src / leveldb / .clang-format
.clang-format
 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  
 7  # Public headers are in a different location in the internal Google repository.
 8  # Order them so that when imported to the authoritative repository they will be
 9  # in correct alphabetical order.
10  IncludeCategories:
11    - Regex:           '^(<|"(benchmarks|db|helpers)/)'
12      Priority:        1
13    - Regex:           '^"(leveldb)/'
14      Priority:        2
15    - Regex:           '^(<|"(issues|port|table|third_party|util)/)'
16      Priority:        3
17    - Regex:           '.*'
18      Priority:        4