summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-incorrect-roundings.json
blob: f8da228b16c487a02f1aa4143007d081a0c64744 (plain)
1
2
3
4
5
6
7
8
[
  [
    "warning",
    "casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead",
    "bugprone-incorrect-roundings"
  ],
  { "reliability": "high" }
]