Skip to content

Commit

Permalink
do not sort includes (it breaks some <windows.h> includes).
Browse files Browse the repository at this point in the history
  • Loading branch information
lovettchris committed May 14, 2021
1 parent 633cf84 commit 7fe46fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Expand Up @@ -49,7 +49,7 @@ NamespaceIndentation: Inner
ReflowComments: false
PenaltyBreakBeforeFirstCallParameter: 100000
PenaltyBreakComment: 100000
SortIncludes: true
SortIncludes: false
SpaceAfterTemplateKeyword: true
# Standard: Cpp11 # Broken
UseTab: Never
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/clang_format.yml
@@ -1,5 +1,5 @@
name: clang-format Check
on: [push, PR]
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
Expand All @@ -10,5 +10,4 @@ jobs:
uses: jidicula/clang-format-action@v3.3.0
with:
clang-format-version: '11'
check-path: '.'
fallback-style: 'Mozilla' # optional
check-path: '.'

0 comments on commit 7fe46fe

Please sign in to comment.