The File API has been refactored to allow cleanup using operator delete.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/src/__support/File/file.h | ||
---|---|---|
206 | Marking this function constexpr breaks gcc compilation as it expects all function calls down this one to be constexpr as well (i.e., File->close(), ...) |
libc/src/__support/File/file.h | ||
---|---|---|
206 | Fixed this now but it looks like we still have some way to go with similar cleanups to make it build with GCC: https://github.com/llvm/llvm-project/commit/fa715e2dad4adfe7f8922c299250b4463e1253c9 |
libc/src/__support/File/file.h | ||
---|---|---|
206 | Absolutely, I'll send a few more fixes but we really need a GCC build bot to make it sustainable. |
Marking this function constexpr breaks gcc compilation as it expects all function calls down this one to be constexpr as well (i.e., File->close(), ...)