[all-commits] [llvm/llvm-project] d22d14: [clang-tidy] support different precisions (#130540)
Tommy Chen via All-commits
all-commits at lists.llvm.org
Tue Mar 11 10:05:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d22d14375d4410cdb441e04016531962e3abb44e
https://github.com/llvm/llvm-project/commit/d22d14375d4410cdb441e04016531962e3abb44e
Author: Tommy Chen <gcchen at google.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseStdNumbersCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-numbers.cpp
Log Message:
-----------
[clang-tidy] support different precisions (#130540)
Support float and long double versions of the math functions for
UseStdNumbersCheck.
For example, after this commit the check is able to catch `sqrtf(2)` and
`expl(1)`.
Fixes: #130325
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list