1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Use ArrayRef. NFC.

llvm-svn: 313895
This commit is contained in:
Rafael Espindola 2017-09-21 17:51:07 +00:00
parent ce603e3652
commit 999461a0e4
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ struct NewArchiveMember {
};
std::error_code
writeArchive(StringRef ArcName, std::vector<NewArchiveMember> &NewMembers,
writeArchive(StringRef ArcName, ArrayRef<NewArchiveMember> NewMembers,
bool WriteSymtab, object::Archive::Kind Kind, bool Deterministic,
bool Thin, std::unique_ptr<MemoryBuffer> OldArchiveBuf = nullptr);
}

View File

@ -377,7 +377,7 @@ writeSymbolTable(raw_fd_ostream &Out, object::Archive::Kind Kind,
}
std::error_code
llvm::writeArchive(StringRef ArcName, std::vector<NewArchiveMember> &NewMembers,
llvm::writeArchive(StringRef ArcName, ArrayRef<NewArchiveMember> NewMembers,
bool WriteSymtab, object::Archive::Kind Kind,
bool Deterministic, bool Thin,
std::unique_ptr<MemoryBuffer> OldArchiveBuf) {