[all-commits] [llvm/llvm-project] 75d70b: [libc] Make close function of the internal File cl...
Siva Chandra via All-commits
all-commits at lists.llvm.org
Tue Jun 20 22:05:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75d70b73063fb5abd12643207c6dda867d955df6
https://github.com/llvm/llvm-project/commit/75d70b73063fb5abd12643207c6dda867d955df6
Author: Siva Chandra Reddy <sivachandra at google.com>
Date: 2023-06-21 (Wed, 21 Jun 2023)
Changed paths:
M libc/src/__support/File/file.h
M libc/src/__support/File/gpu/file.cpp
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] Make close function of the internal File class cleanup the file object.
Before this change, a separate static method named cleanup was used to
cleanup the file. Instead, now the close method cleans up the full file
object using the platform's close function.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D153377
More information about the All-commits
mailing list