[all-commits] [llvm/llvm-project] f9868a: [libc][NFC] Use operator delete to cleanup a File ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Dec 22 14:31:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9868aa7292a0821f4ed29048d4d4214b17cbb92
      https://github.com/llvm/llvm-project/commit/f9868aa7292a0821f4ed29048d4d4214b17cbb92
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h
    M libc/src/__support/File/linux_file.cpp
    M libc/src/stdio/fclose.cpp
    M libc/src/stdio/fopencookie.cpp
    M libc/test/src/__support/File/file_test.cpp
    M libc/test/src/__support/File/platform_file_test.cpp

  Log Message:
  -----------
  [libc][NFC] Use operator delete to cleanup a File object.

The File API has been refactored to allow cleanup using operator delete.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D140574




More information about the All-commits mailing list