diff options
Diffstat (limited to 'tools/clang-tidy/test/bugprone-incorrect-roundings.json')
-rw-r--r-- | tools/clang-tidy/test/bugprone-incorrect-roundings.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/bugprone-incorrect-roundings.json b/tools/clang-tidy/test/bugprone-incorrect-roundings.json new file mode 100644 index 0000000000..7ee4c763af --- /dev/null +++ b/tools/clang-tidy/test/bugprone-incorrect-roundings.json @@ -0,0 +1 @@ +[["warning", "casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead", "bugprone-incorrect-roundings"], {"reliability": "high"}]
\ No newline at end of file |