[clang] 59dffce - [FIX] Include `<numeric>` in `clang/lib/CodeGen/CGExpr.cpp`
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 21 06:31:44 PST 2025
Author: Shilei Tian
Date: 2025-01-21T09:31:35-05:00
New Revision: 59dffce8c80eb9cefc96b8d3fe55473edfee9c4c
URL: https://github.com/llvm/llvm-project/commit/59dffce8c80eb9cefc96b8d3fe55473edfee9c4c
DIFF: https://github.com/llvm/llvm-project/commit/59dffce8c80eb9cefc96b8d3fe55473edfee9c4c.diff
LOG: [FIX] Include `<numeric>` in `clang/lib/CodeGen/CGExpr.cpp`
It uses `std::iota` but the header was not included.
Added:
Modified:
clang/lib/CodeGen/CGExpr.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 607c2419cb2f53..054f8d1eadb8c5 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -46,6 +46,7 @@
#include "llvm/Support/xxhash.h"
#include "llvm/Transforms/Utils/SanitizerStats.h"
+#include <numeric>
#include <optional>
#include <string>
More information about the cfe-commits
mailing list