[clang-tools-extra] 7deb41d - Revert "[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:59:32 PST 2023


Author: Piotr Zegar
Date: 2023-12-06T18:59:25Z
New Revision: 7deb41db98230938486ad2f22dda353f8950ac95

URL: https://github.com/llvm/llvm-project/commit/7deb41db98230938486ad2f22dda353f8950ac95
DIFF: https://github.com/llvm/llvm-project/commit/7deb41db98230938486ad2f22dda353f8950ac95.diff

LOG: Revert "[clang-tidy][NFC] Attemp to fix compliation issue in UseStdNumbersCheck.cpp"

This reverts commit bb0b261c2c731f9ceb5a70b2343b892b2ee05f3e.

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 585a1bf27783f..1f2b034713ecf 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<const Matcher<clang::Stmt>>, Exprs) {
+              llvm::ArrayRef<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