[clang-tools-extra] [clang-tidy] support different precisions (PR #130540)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 10 11:16:33 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()),
----------------
PiotrZSL wrote:
or just hasAnyName
https://github.com/llvm/llvm-project/pull/130540
More information about the cfe-commits
mailing list