[clang-tools-extra] [clang-tidy][NFC] add numeric include for transform_reduce (PR #193165)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 21 02:36:26 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-tidy

Author: Baranov Victor (vbvictor)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/193165.diff


1 Files Affected:

- (modified) clang-tools-extra/clang-tidy/readability/IdentifierLengthCheck.cpp (+1) 


``````````diff
diff --git a/clang-tools-extra/clang-tidy/readability/IdentifierLengthCheck.cpp b/clang-tools-extra/clang-tidy/readability/IdentifierLengthCheck.cpp
index 7182d424c0273..494bb2ccd859f 100644
--- a/clang-tools-extra/clang-tidy/readability/IdentifierLengthCheck.cpp
+++ b/clang-tools-extra/clang-tidy/readability/IdentifierLengthCheck.cpp
@@ -9,6 +9,7 @@
 #include "IdentifierLengthCheck.h"
 #include "../utils/DeclRefExprUtils.h"
 #include "clang/ASTMatchers/ASTMatchFinder.h"
+#include <numeric>
 
 using namespace clang::ast_matchers;
 

``````````

</details>


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


More information about the cfe-commits mailing list