[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 16 21:24:00 PDT 2023


================
@@ -0,0 +1,25 @@
+.. title:: clang-tidy - modernize-use-std-numbers
+
+modernize-use-std-numbers
+=========================
+
+This check finds constants and function calls to math functions that can be replaced
+with c++20's mathematical constants ('numbers' header) and offers fixit-hints.
----------------
EugeneZelenko wrote:

`fix-it`.

https://github.com/llvm/llvm-project/pull/66583


More information about the cfe-commits mailing list