File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ From 7e44305041d96b064c197216b931ae3917a34ac1 Mon Sep 17 00:00:00 2001
2+ From: Sam James <
[email protected] >
3+ Date: Fri, 2 Aug 2024 23:07:21 +0100
4+ Subject: [PATCH] [ADT] Add `<cstdint>` to SmallVector (#101761)
5+
6+ SmallVector uses `uint32_t`, `uint64_t` without including `<cstdint>`
7+ which fails to build w/ GCC 15 after a change in libstdc++ [0]
8+
9+ [0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2
10+ ---
11+ llvm/include/llvm/ADT/SmallVector.h | 1 +
12+ 1 file changed, 1 insertion(+)
13+
14+ --- a/llvm/include/llvm/ADT/SmallVector.h
15+ +++ b/llvm/include/llvm/ADT/SmallVector.h
16+ @@ -19,6 +19,7 @@
17+ #include <algorithm>
18+ #include <cassert>
19+ #include <cstddef>
20+ + #include <cstdint>
21+ #include <cstdlib>
22+ #include <cstring>
23+ #include <functional>
You can’t perform that action at this time.
0 commit comments