Skip to content

Commit

Permalink
clang-tidy: single line if statements don't need braces
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaddy committed Aug 24, 2023
1 parent e8cd682 commit da283ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ Checks: "*,
google-readability-avoid-underscore-in-googletest-name,
google-upgrade-googletest-case,
-*,
readability-braces-around-statements,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-narrowing-conversions,
-cert-env33-c,
Expand Down Expand Up @@ -139,6 +140,7 @@ AnalyzeTemporaryDtors: false
FormatStyle: 'file'
UseColor: false
CheckOptions:
readability-braces-around-statements.ShortStatementLines: 1
# readability-identifier-naming allowed casing types
# - lower_case
# - UPPER_CASE
Expand Down

0 comments on commit da283ee

Please sign in to comment.