Skip to content

Commit

Permalink
Update clang-format includes sorting (#521)
Browse files Browse the repository at this point in the history
clang-format still thinks that source directories within the project
should start with <isce/

Since the recent layout restructuring renaming "isce" directories to
"isce3", this is no longer accurate.

This commit updates the clang-format config to fix sorting of includes.
  • Loading branch information
gmgunter authored and GitHub Enterprise committed Jul 30, 2020
1 parent 1311c9f commit f3041cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ SortIncludes: true
# forward.h or main header
# system headers
# contrib headers
# isce headers with angle brackets
# isce3 headers with angle brackets
# relative quote includes
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^.*forward\.h'
Priority: 0
- Regex: '^(<|")(cereal|gtest|pyre|Eigen)/'
Priority: 2
- Regex: '^<isce/'
- Regex: '^<isce3/'
Priority: 3
- Regex: '^"'
Priority: 4
Expand Down

0 comments on commit f3041cf

Please sign in to comment.