diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-09-21 07:17:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 07:17:46 +0300 |
commit | e3c7b570ae00503bcd5db673eb66b943eec988f0 (patch) | |
tree | ac53b43482a0a1c751e0e88f69f61de27e4fb9c9 /.clang-format | |
parent | 9aec84dee713027ceb4ffd58ed5d0b8d81484e7e (diff) |
Minor documentation and script cleanups (#6868)
* Remove mention of no longer used IRC network
Channels exist on matrix, and on libera.chat now.
* Correctly match only files with .png extension
The current search would match files such as 'createpng'.
* Fix comparison in script
The result was always false, due to comparing a literal string instead of a variable.
* Use correct license files from upstream
Correct license files obtained from:
https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
https://www.gnu.org/licenses/gpl-3.0.txt
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
https://www.gnu.org/licenses/lgpl-3.0.txt
* Refresh several shell scripts
This fixes several shellcheck warnings, as well as makes the code more
robust and have consistent codestyle between all the files.
* Trim excess whitespace
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.clang-format b/.clang-format index 64ab822b6..3c68a1a7a 100644 --- a/.clang-format +++ b/.clang-format @@ -19,7 +19,7 @@ AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: false BinPackArguments: false BinPackParameters: false -BraceWrapping: +BraceWrapping: AfterClass: true AfterFunction: true AfterControlStatement: false @@ -44,7 +44,7 @@ DerivePointerAlignment: false DisableFormat: false ExperimentalAutoDetectBinPacking: false ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] -IncludeCategories: +IncludeCategories: - Regex: '^"(llvm|llvm-c|clang|clang-c)/' Priority: 2 - Regex: '^(<|"(gtest|isl|json)/)' @@ -85,4 +85,3 @@ Standard: Cpp11 TabWidth: 4 UseTab: Never ... - |