[clang-tools-extra] [clang-tidy] support different precisions (PR #130540)

Tommy Chen via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 10 19:20:19 PDT 2025


================
@@ -91,8 +91,12 @@ struct MatchBuilder {
 
   auto matchMathCall(const StringRef FunctionName,
                      const Matcher<clang::Expr> ArgumentMatcher) const {
+    auto HasAnyPrecisionName =
+        anyOf(hasName(FunctionName), hasName((FunctionName + "l").str()),
----------------
dl8sd11 wrote:

Thanks for pointing out the two functions!

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


More information about the cfe-commits mailing list