summaryrefslogtreecommitdiff
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2014-02-26 03:21:00 +0000
committerBen Langmuir <blangmuir@apple.com>2014-02-26 03:21:00 +0000
commitca302abd2092f35a82db605a5c6a43875cba0a34 (patch)
tree43ec34d8a958efaafb0d8b2a4ca9346e329cf70c /include/llvm/Support
parent50bc165c54c61ac08dc8c406391fecdd4f7861b3 (diff)
downloadllvm-ca302abd2092f35a82db605a5c6a43875cba0a34.tar.gz
llvm-ca302abd2092f35a82db605a5c6a43875cba0a34.tar.bz2
llvm-ca302abd2092f35a82db605a5c6a43875cba0a34.tar.xz
Use StringRef in raw_fd_ostream constructor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/raw_ostream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index e0048f5140..e942d0af91 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/include/llvm/Support/raw_ostream.h
@@ -346,7 +346,7 @@ public:
/// itself to own the file descriptor. In particular, it will close the
/// file descriptor when it is done (this is necessary to detect
/// output errors).
- raw_fd_ostream(const char *Filename, std::string &ErrorInfo,
+ raw_fd_ostream(StringRef Filename, std::string &ErrorInfo,
sys::fs::OpenFlags Flags);
/// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If