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 6807ec3 commit 2c64861
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 2c64861

Please sign in to comment.