3 Commits

Author SHA1 Message Date
Julian Schmidt
0eb7d53cfc [clang-tidy] add modernize-use-std-numbers (#66583)
Finds constants and function calls to math functions that can be
replaced with c++20's mathematical constants from the 'numbers' 
header and offers fix-it hints.
Does not match the use of variables with that value, and instead,
offers a replacement at the definition of those variables.
2023-12-06 20:49:14 +00:00
Piotr Zegar
1e1e11a4d7 Revert "[clang-tidy] add modernize-use-std-numbers (#66583)"
Compilation issue, to be resolved.

This reverts commit 3f73fd774cf8fc2f288767ea077bfa351eb7aa80.
2023-12-06 18:59:25 +00:00
Julian Schmidt
3f73fd774c
[clang-tidy] add modernize-use-std-numbers (#66583)
Finds constants and function calls to math functions that can be
replaced with c++20's mathematical constants from the 'numbers' 
header and offers fix-it hints.
Does not match the use of variables with that value, and instead,
offers a replacement at the definition of those variables.
2023-12-06 18:56:05 +01:00