[clang-tools-extra] bb0b261 - [clang-tidy][NFC] Attemp to fix compliation issue in UseStdNumbersCheck.cpp
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 6 10:48:05 PST 2023
Author: Piotr Zegar
Date: 2023-12-06T18:47:59Z
New Revision: bb0b261c2c731f9ceb5a70b2343b892b2ee05f3e
URL: https://github.com/llvm/llvm-project/commit/bb0b261c2c731f9ceb5a70b2343b892b2ee05f3e
DIFF: https://github.com/llvm/llvm-project/commit/bb0b261c2c731f9ceb5a70b2343b892b2ee05f3e.diff
LOG: [clang-tidy][NFC] Attemp to fix compliation issue in UseStdNumbersCheck.cpp
Attempt to fix issue introduced in #66583
Added:
Modified:
clang-tools-extra/clang-tidy/modernize/UseStdNumbersCheck.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-tidy/modernize/UseStdNumbersCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseStdNumbersCheck.cpp
index 1f2b034713ecf..585a1bf27783f 100644
--- a/clang-tools-extra/clang-tidy/modernize/UseStdNumbersCheck.cpp
+++ b/clang-tools-extra/clang-tidy/modernize/UseStdNumbersCheck.cpp
@@ -62,7 +62,7 @@ AST_MATCHER(clang::QualType, isFloating) {
}
AST_MATCHER_P(clang::Expr, anyOfExhaustive,
- llvm::ArrayRef<Matcher<clang::Stmt>>, Exprs) {
+ llvm::ArrayRef<const Matcher<clang::Stmt>>, Exprs) {
bool FoundMatch = false;
for (const auto &InnerMatcher : Exprs) {
clang::ast_matchers::internal::BoundNodesTreeBuilder Result = *Builder;
More information about the cfe-commits
mailing list