diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-25 05:28:34 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-25 05:28:34 +0000 |
commit | dd5af27a74a01f0d03356cea15d3a403f4964f8b (patch) | |
tree | 39bed0690c95e7d626e02c248a28119099cf07a7 /utils/FileUpdate | |
parent | fa34f42fd6628ee0086b753461d54a8b4c18d170 (diff) | |
download | external_llvm-dd5af27a74a01f0d03356cea15d3a403f4964f8b.tar.gz external_llvm-dd5af27a74a01f0d03356cea15d3a403f4964f8b.tar.bz2 external_llvm-dd5af27a74a01f0d03356cea15d3a403f4964f8b.zip |
keep only the StringRef version of getFileOrSTDIN.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/FileUpdate')
-rw-r--r-- | utils/FileUpdate/FileUpdate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/FileUpdate/FileUpdate.cpp b/utils/FileUpdate/FileUpdate.cpp index 9b48f94948..6f9544f28e 100644 --- a/utils/FileUpdate/FileUpdate.cpp +++ b/utils/FileUpdate/FileUpdate.cpp @@ -45,7 +45,7 @@ int main(int argc, char **argv) { // Get the input data. OwningPtr<MemoryBuffer> In; - if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), In)) { + if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename, In)) { errs() << argv[0] << ": error: Unable to get input '" << InputFilename << "': " << ec.message() << '\n'; return 1; |