Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/include/llvm/Support/FileSystem.h | ||
---|---|---|
167 ↗ | (On Diff #92233) | It seems like system types are used here when LLVM_ON_UNIX is defined, so you should probably define LinkCount as nlink_t fs_st_nlink; for POSIX and uint32_t LinkCount; only for the Windows case (which means you'll also have to have two separate getters down below). I'll let someone more knowledgeable with this code confirm what the right thing to do is. |
llvm/include/llvm/Support/FileSystem.h | ||
---|---|---|
167 ↗ | (On Diff #92233) | That certainly seems to be the pattern, although I am not really sure why. I am personally fine with having a single field if it is big enough to hold the value in all circumstances -- which means the type should be 64-bit as that's the type of nlink_t on 64-bit (linux) systems. |