diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-19 15:45:37 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-19 15:45:37 +0000 |
commit | 4d07abbb01b7bfc8e6e24ce07f2487803df50ea3 (patch) | |
tree | e2c87c02c38710dc98913172dc3daf7ae7709f5d /tools/llvm-ar/ArchiveReader.cpp | |
parent | 7c8397081c3d101fe467e8375601b091056465e0 (diff) | |
download | external_llvm-4d07abbb01b7bfc8e6e24ce07f2487803df50ea3.zip external_llvm-4d07abbb01b7bfc8e6e24ce07f2487803df50ea3.tar.gz external_llvm-4d07abbb01b7bfc8e6e24ce07f2487803df50ea3.tar.bz2 |
Reduce sys::Path usage in llvm-ar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar/ArchiveReader.cpp')
-rw-r--r-- | tools/llvm-ar/ArchiveReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ar/ArchiveReader.cpp b/tools/llvm-ar/ArchiveReader.cpp index 8ad01dc..1271d02 100644 --- a/tools/llvm-ar/ArchiveReader.cpp +++ b/tools/llvm-ar/ArchiveReader.cpp @@ -174,7 +174,7 @@ Archive::parseMemberHeader(const char*& At, const char* End, std::string* error) // Fill in fields of the ArchiveMember member->parent = this; - member->path.set(pathname); + member->path = pathname; member->info.fileSize = MemberSize; member->info.modTime.fromEpochTime(atoi(Hdr->date)); unsigned int mode; |