diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-25 18:03:49 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:53 +0200 |
commit | 7eaf077f1f75194e15968e239ff69892e5e1b648 (patch) | |
tree | 909174674ea9f556467e6ea44d94c0780062b71c | |
parent | 63d35e97ac7b332616058c667f750b13006f2323 (diff) |
style: improve clang-format & clang-tidy configs
-rw-r--r-- | .clang-format | 2 | ||||
-rw-r--r-- | .clang-tidy | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index a795a13..4147c1f 100644 --- a/.clang-format +++ b/.clang-format @@ -5,7 +5,9 @@ TabWidth: 4 BreakBeforeBraces: Allman AllowShortIfStatementsOnASingleLine: false AllowShortFunctionsOnASingleLine: Empty +AllowShortLambdasOnASingleLine: None IndentCaseLabels: false ColumnLimit: 90 AccessModifierOffset: -4 AlwaysBreakTemplateDeclarations: Yes +ConstructorInitializerAllOnOneLineOrOnePerLine: Yes diff --git a/.clang-tidy b/.clang-tidy index c31d884..6fffdc8 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -12,7 +12,8 @@ Checks: ' -bugprone-reserved-identifier, -google-readability-braces-around-statements, -modernize-return-braced-init-list, - -modernize-use-trailing-return-type' + -modernize-use-trailing-return-type, + -misc-non-private-member-variables-in-classes' WarningsAsErrors: '*' HeaderFilterRegex: '\/src\/' AnalyzeTemporaryDtors: false |