Skip to content

Commit

Permalink
clang-tidy Ignore 50 and 100 magic numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
harrism committed Dec 20, 2023
1 parent 66d85b4 commit 265de9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ CheckOptions:
value: 'alignment'
- key: cppcoreguidelines-avoid-magic-numbers.IgnorePowersOf2IntegerValues
value: '1'
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: '1'
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
value: "0;1;2;3;4;50;100"
- key: cppcoreguidelines-avoid-do-while.IgnoreMacros
value: 'true'
...

0 comments on commit 265de9b

Please sign in to comment.