Skip to content

Commit

Permalink
clang-format: Don't sort includes.
Browse files Browse the repository at this point in the history
Add a priority for the pre-compiled header for the future.
  • Loading branch information
CrossVR committed Jan 23, 2017
1 parent d0726ca commit 4600448
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ DerivePointerAlignment: false
DisableFormat: false
ForEachMacros: []
IncludeCategories:
- Regex: 'stdafx.h'
Priority: -1
- Regex: '^<'
Priority: 1
- Regex: '^"'
Expand All @@ -68,7 +70,7 @@ PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
Expand Down

0 comments on commit 4600448

Please sign in to comment.