aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-format2
-rw-r--r--.clang-tidy3
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