Ensure that clang-format places config.h first in header list

This commit is contained in:
ridiculousfish 2019-10-13 15:45:02 -07:00
parent 39671e6b19
commit e73e9c3e2e

View File

@ -6,5 +6,11 @@
BasedOnStyle: Google BasedOnStyle: Google
ColumnLimit: 100 ColumnLimit: 100
IndentWidth: 4 IndentWidth: 4
# Place config.h first always.
IncludeCategories:
- Regex: '^"config.h"'
Priority: -1
# We don't want OCLint pragmas to be reformatted. # We don't want OCLint pragmas to be reformatted.
CommentPragmas: '^!OCLINT' CommentPragmas: '^!OCLINT'