diff options
Diffstat (limited to 'llvm/tools/llvm-ranlib/llvm-ranlib.cpp')
-rw-r--r-- | llvm/tools/llvm-ranlib/llvm-ranlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ranlib/llvm-ranlib.cpp b/llvm/tools/llvm-ranlib/llvm-ranlib.cpp index e2fbf7d55d5..d7d47149808 100644 --- a/llvm/tools/llvm-ranlib/llvm-ranlib.cpp +++ b/llvm/tools/llvm-ranlib/llvm-ranlib.cpp @@ -59,7 +59,7 @@ int main(int argc, char **argv) { // Check the path name of the archive sys::Path ArchivePath; - if (!ArchivePath.setFile(ArchiveName)) + if (!ArchivePath.set(ArchiveName)) throw std::string("Archive name invalid: ") + ArchiveName; // Make sure it exists, we don't create empty archives |