commit | 036b262c81773d4f775ab19c7bcb65449d32fe2f | [log] [tgz] |
---|---|---|
author | Julian Schmidt <44101708+5chmidti@users.noreply.github.com> | Wed Dec 06 18:56:05 2023 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Dec 06 10:00:44 2023 -0800 |
tree | d09c06e215392680f0bcf85815bcd638aec6f530 | |
parent | a135525c926db8944c6e01595e43bee370a7ca7e [diff] |
[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. GitOrigin-RevId: 3f73fd774cf8fc2f288767ea077bfa351eb7aa80