aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-11-26 01:45:24 +0000
committerRui Ueyama <ruiu@google.com>2014-11-26 01:45:24 +0000
commitb12191aaf9dd910c7f3519c532d90a96ae956949 (patch)
tree8f297cacb9e4c1499b847e489e4c2f96877d181f /clang/unittests/Format/FormatTestJava.cpp
parentc50d64b07b6b027d90b37713b191e73728e983ed (diff)
downloadllvm-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