Commit 83927a6
authored
[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.1 parent 20675ee commit 83927a6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments