aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/IR/ModuleTest.cpp
diff options
context:
space:
mode:
authorNaveen Seth Hanig <naveen.hanig@outlook.com>2025-10-21 15:44:28 +0200
committerGitHub <noreply@github.com>2025-10-21 15:44:28 +0200
commit83927a6913080fbd84b6ee1cd741fc7f057193ae (patch)
tree3e1b5dcd27a1acb4c0e8f48ca31ef52ac098562d /llvm/unittests/IR/ModuleTest.cpp
parent20675ee67d048a42482c246e25b284637d55347c (diff)
downloadllvm-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