-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define code style and format all source files
except those placed in 3rdparty directories.
- Loading branch information
Showing
283 changed files
with
19,606 additions
and
17,925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
BasedOnStyle: WebKit | ||
Language: Cpp | ||
AlignAfterOpenBracket: Align | ||
AllowShortEnumsOnASingleLine: false | ||
PointerAlignment: Left | ||
ReflowComments: true | ||
FixNamespaceComments: true | ||
IncludeBlocks: Regroup | ||
# regular expressions are matched against the filename of an include (including the <> or “”) in order | ||
# в самом верху - основной хедер (совпадающий по имени с .cpp) и ui_, если есть | ||
# потом локальные хедеры | ||
# потом внешние хедеры (обычно это <smth/other.h>) | ||
# потом кутешные хедеры | ||
# потом прочие системные хедеры | ||
# все группы отсортированы по алфавиту | ||
IncludeCategories: | ||
- Regex: '"ui_.*' | ||
Priority: 0 | ||
- Regex: '^".*' | ||
Priority: 1 | ||
- Regex: '^<Qt.*' | ||
Priority: 3 | ||
- Regex: '^<.*/.*\.h>' | ||
Priority: 2 | ||
- Regex: '^<Q.*' | ||
Priority: 3 | ||
- Regex: '^<.*' | ||
Priority: 4 | ||
ColumnLimit: 100 | ||
TabWidth: 4 | ||
UseTab: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.