Skip to content

Commit

Permalink
[clang-tidy] Explicitly ignore the power of two numbers.
Browse files Browse the repository at this point in the history
We use them as part of the llvm::SmallVector and alikes.
  • Loading branch information
vgvassilev committed Aug 22, 2023
1 parent c0e0ac6 commit 0c0290e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ CheckOptions:
value: 1
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: 1
- key: readability-magic-numbers.IgnoredIntegerValues
value: 4;8;16;

0 comments on commit 0c0290e

Please sign in to comment.