NFCI, optimize layout of FileEntry

The reordering of the UID field makes the size of a
FileEntry 8 bytes smaller on 64bit platforms.

llvm-svn: 367371
This commit is contained in:
Alex Lorenz 2019-07-31 00:12:00 +00:00
parent d8e7967a22
commit 50044763f6
1 changed files with 1 additions and 1 deletions

View File

@ -64,8 +64,8 @@ class FileEntry {
off_t Size; // File size in bytes.
time_t ModTime; // Modification time of file.
const DirectoryEntry *Dir; // Directory file lives in.
unsigned UID; // A unique (small) ID for the file.
llvm::sys::fs::UniqueID UniqueID;
unsigned UID; // A unique (small) ID for the file.
bool IsNamedPipe;
bool IsValid; // Is this \c FileEntry initialized and valid?