Skip to content

Commit 7218fc7

Browse files
thesamesamgiordano
authored andcommitted
[ADT] Add <cstdint> to SmallVector (llvm#101761)
SmallVector uses `uint32_t`, `uint64_t` without including `<cstdint>` which fails to build w/ GCC 15 after a change in libstdc++ [0] [0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2 (cherry picked from commit 7e44305)
1 parent 70a99de commit 7218fc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/ADT/SmallVector.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <algorithm>
2020
#include <cassert>
2121
#include <cstddef>
22+
#include <cstdint>
2223
#include <cstdlib>
2324
#include <cstring>
2425
#include <functional>

0 commit comments

Comments
 (0)