mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Inline function into only use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -116,24 +116,18 @@ static void printMemberHeader(raw_fd_ostream &Out, StringRef Name,
|
|||||||
printRestOfMemberHeader(Out, ModTime, UID, GID, Perms, Size);
|
printRestOfMemberHeader(Out, ModTime, UID, GID, Perms, Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void printMemberHeader(raw_fd_ostream &Out, unsigned NameOffset,
|
|
||||||
const sys::TimeValue &ModTime, unsigned UID,
|
|
||||||
unsigned GID, unsigned Perms, unsigned Size) {
|
|
||||||
Out << '/';
|
|
||||||
printWithSpacePadding(Out, NameOffset, 15);
|
|
||||||
printRestOfMemberHeader(Out, ModTime, UID, GID, Perms, Size);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
printMemberHeader(raw_fd_ostream &Out, StringRef Name,
|
printMemberHeader(raw_fd_ostream &Out, StringRef Name,
|
||||||
std::vector<unsigned>::iterator &StringMapIndexIter,
|
std::vector<unsigned>::iterator &StringMapIndexIter,
|
||||||
const sys::TimeValue &ModTime, unsigned UID, unsigned GID,
|
const sys::TimeValue &ModTime, unsigned UID, unsigned GID,
|
||||||
unsigned Perms, unsigned Size) {
|
unsigned Perms, unsigned Size) {
|
||||||
if (Name.size() < 16)
|
if (Name.size() < 16) {
|
||||||
printMemberHeader(Out, Name, ModTime, UID, GID, Perms, Size);
|
printMemberHeader(Out, Name, ModTime, UID, GID, Perms, Size);
|
||||||
else
|
return;
|
||||||
printMemberHeader(Out, *StringMapIndexIter++, ModTime, UID, GID, Perms,
|
}
|
||||||
Size);
|
Out << '/';
|
||||||
|
printWithSpacePadding(Out, *StringMapIndexIter++, 15);
|
||||||
|
printRestOfMemberHeader(Out, ModTime, UID, GID, Perms, Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void writeStringTable(raw_fd_ostream &Out,
|
static void writeStringTable(raw_fd_ostream &Out,
|
||||||
|
Reference in New Issue
Block a user