aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/raw_ostream.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-04-09 16:59:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-04-09 16:59:07 +0000
commit62e6ec066e83458084e8283a96098cd34ce8e7f8 (patch)
tree920c458c3c5ed09288a763d0e9f065d7f53db90f /llvm/lib/Support/raw_ostream.cpp
parent5ec532a935bf17add7f6f8f9e8dfb96c3774d02e (diff)
downloadllvm-62e6ec066e83458084e8283a96098cd34ce8e7f8.zip
llvm-62e6ec066e83458084e8283a96098cd34ce8e7f8.tar.gz
llvm-62e6ec066e83458084e8283a96098cd34ce8e7f8.tar.bz2
Misc cleanup. NFC.
These were lost when I reverted the raw_ostream changes. llvm-svn: 234504
Diffstat (limited to 'llvm/lib/Support/raw_ostream.cpp')
-rw-r--r--llvm/lib/Support/raw_ostream.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp
index 051e2dd..37f7bc5 100644
--- a/llvm/lib/Support/raw_ostream.cpp
+++ b/llvm/lib/Support/raw_ostream.cpp
@@ -516,11 +516,11 @@ raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC,
ShouldClose = true;
}
-/// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If
-/// ShouldClose is true, this closes the file when the stream is destroyed.
+/// FD is the file descriptor that this writes to. If ShouldClose is true, this
+/// closes the file when the stream is destroyed.
raw_fd_ostream::raw_fd_ostream(int fd, bool shouldClose, bool unbuffered)
- : raw_ostream(unbuffered), FD(fd),
- ShouldClose(shouldClose), Error(false), UseAtomicWrites(false) {
+ : raw_ostream(unbuffered), FD(fd), ShouldClose(shouldClose), Error(false),
+ UseAtomicWrites(false) {
#ifdef O_BINARY
// Setting STDOUT to binary mode is necessary in Win32
// to avoid undesirable linefeed conversion.