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:
parent
ce603e3652
commit
999461a0e4
@ -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);
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user