[PATCH] D23826: Remove excessive padding from PTHStatData
Mehdi AMINI via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 23 21:35:13 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL279607: Remove excessive padding from PTHStatData (NFC) (authored by mehdi_amini).
Changed prior to commit:
https://reviews.llvm.org/D23826?vs=69071&id=69077#toc
Repository:
rL LLVM
https://reviews.llvm.org/D23826
Files:
cfe/trunk/lib/Lex/PTHLexer.cpp
Index: cfe/trunk/lib/Lex/PTHLexer.cpp
===================================================================
--- cfe/trunk/lib/Lex/PTHLexer.cpp
+++ cfe/trunk/lib/Lex/PTHLexer.cpp
@@ -628,15 +628,15 @@
namespace {
class PTHStatData {
public:
- const bool HasData;
uint64_t Size;
time_t ModTime;
llvm::sys::fs::UniqueID UniqueID;
+ const bool HasData;
bool IsDirectory;
PTHStatData(uint64_t Size, time_t ModTime, llvm::sys::fs::UniqueID UniqueID,
bool IsDirectory)
- : HasData(true), Size(Size), ModTime(ModTime), UniqueID(UniqueID),
+ : Size(Size), ModTime(ModTime), UniqueID(UniqueID), HasData(true),
IsDirectory(IsDirectory) {}
PTHStatData() : HasData(false) {}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23826.69077.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160824/49f1508c/attachment.bin>
More information about the cfe-commits
mailing list