commit | 8c968628473c7de416e3f468fead20023f33107e | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Mon Aug 25 18:16:47 2014 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Mon Aug 25 18:16:47 2014 +0000 |
tree | 81280e5bc1d0376271b6ad18e1e2b4876c5d1725 | |
parent | a4c8f31dd0ba2916888b29e87bc26e263d6adeaf [diff] |
Modernize raw_fd_ostream's constructor a bit. Take a StringRef instead of a "const char *". Take a "std::error_code &" instead of a "std::string &" for error. A create static method would be even better, but this patch is already a bit too big. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216393 91177308-0d34-0410-b5e6-96231b3b80d8