[libc-commits] [PATCH] D140574: [libc][NFC] Use operator delete to cleanup a File object.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Dec 22 11:38:42 PST 2022
sivachandra created this revision.
sivachandra added reviewers: lntue, michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.
The File API has been refactored to allow cleanup using operator delete.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D140574
Files:
libc/src/__support/File/file.cpp
libc/src/__support/File/file.h
libc/src/__support/File/linux_file.cpp
libc/src/stdio/fclose.cpp
libc/src/stdio/fopencookie.cpp
libc/test/src/__support/File/file_test.cpp
libc/test/src/__support/File/platform_file_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140574.484914.patch
Type: text/x-patch
Size: 16347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221222/3b637489/attachment-0001.bin>
More information about the libc-commits
mailing list