diff options
| author | Naveen Seth Hanig <naveen.hanig@outlook.com> | 2025-10-21 15:44:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-21 15:44:28 +0200 |
| commit | 83927a6913080fbd84b6ee1cd741fc7f057193ae (patch) | |
| tree | 3e1b5dcd27a1acb4c0e8f48ca31ef52ac098562d /llvm/unittests/IR/ModuleTest.cpp | |
| parent | 20675ee67d048a42482c246e25b284637d55347c (diff) | |
| download | llvm-83927a6913080fbd84b6ee1cd741fc7f057193ae.zip llvm-83927a6913080fbd84b6ee1cd741fc7f057193ae.tar.gz llvm-83927a6913080fbd84b6ee1cd741fc7f057193ae.tar.bz2 | |
[Modules] Fix LLVM_ENABLE_MODULES build (NFC) (#164402)
FileOffset.h uses uint64_t but only includes <cstdlib>, which is not
specified to provide the uint64_t type.
This happens to work without LLVM_ENABLE_MODULES enabled due to
transitive includes from <cstdlib>.
With LLVM_ENABLE_MODULES enabled, declarations from transitive
includes are not visible by default, and the build fails.
This fixes LLVM_ENABLE_MODULES builds by including the proper header,
<cstdint>, instead.
Diffstat (limited to 'llvm/unittests/IR/ModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions
