diff options
author | Rui Ueyama <ruiu@google.com> | 2014-11-26 01:45:24 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-11-26 01:45:24 +0000 |
commit | b12191aaf9dd910c7f3519c532d90a96ae956949 (patch) | |
tree | 8f297cacb9e4c1499b847e489e4c2f96877d181f /clang/unittests/Format/FormatTestJava.cpp | |
parent | c50d64b07b6b027d90b37713b191e73728e983ed (diff) | |
download | llvm-b12191aaf9dd910c7f3519c532d90a96ae956949.zip llvm-b12191aaf9dd910c7f3519c532d90a96ae956949.tar.gz llvm-b12191aaf9dd910c7f3519c532d90a96ae956949.tar.bz2 |
Use SafelyCloseFileDescriptor instead of close.
Opening a file using openFileForWrite and closing it using close
was asymmetric. It also had a subtle portability problem (details are
described in the commit message for r219189).
llvm-svn: 222802
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions