diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-08-16 19:20:10 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-08-16 19:20:10 +0000 |
commit | 0464ae83e7c70ce502635e0d49004a823cfa80f2 (patch) | |
tree | 99ab49a4f103f3a35e0e84739e0090a0a755d04d /llvm/lib/Support/SourceMgr.cpp | |
parent | 00940fb8544767ba5217922c4ba96677aabe9eb3 (diff) | |
download | bcm5719-llvm-0464ae83e7c70ce502635e0d49004a823cfa80f2.tar.gz bcm5719-llvm-0464ae83e7c70ce502635e0d49004a823cfa80f2.zip |
Remove excessive padding from LineNoCacheTy
The struct LineNoCacheTy is in SourceMgr.cpp inside anonymous namespace.
This diff changes the order of fields and removes the excessive padding
(8 bytes).
Patch by Alexander Shaposhnikov!
Differential revision: https://reviews.llvm.org/D23546
llvm-svn: 278838
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
-rw-r--r-- | llvm/lib/Support/SourceMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/SourceMgr.cpp b/llvm/lib/Support/SourceMgr.cpp index 395c29b4279..b2f87d64845 100644 --- a/llvm/lib/Support/SourceMgr.cpp +++ b/llvm/lib/Support/SourceMgr.cpp @@ -26,8 +26,8 @@ static const size_t TabStop = 8; namespace { struct LineNoCacheTy { - unsigned LastQueryBufferID; const char *LastQuery; + unsigned LastQueryBufferID; unsigned LineNoOfQuery; }; } |