[libc-commits] [PATCH] D119458: [libc] Add a platform independent buffered file IO data structure.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Feb 14 08:47:04 PST 2022


lntue added inline comments.


================
Comment at: libc/src/__support/File/file.cpp:167
+
+int File::close() {
+  {
----------------
Do we need to add a check at the beginning of all other accessing methods to make sure that `close` has not been called?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119458/new/

https://reviews.llvm.org/D119458



More information about the libc-commits mailing list