]> granicus.if.org Git - clang/commit
Windows: Shrink sizeof(MacroInfo) from 256 to 248, MacroDirective 24 to 16
authorNico Weber <nicolasweber@gmx.de>
Mon, 28 Mar 2016 17:28:06 +0000 (17:28 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 28 Mar 2016 17:28:06 +0000 (17:28 +0000)
commit492b4fc9d4202fd8c36eebcdfe108fb61daac021
tree44e278ee2e9bc5d23558bf797292d8eb824b8a2f
parenta08e6bf3979b9e570f092177f69c4723e741e6da
Windows: Shrink sizeof(MacroInfo) from 256 to 248, MacroDirective 24 to 16

In the Microsoft ABI, only bitfields with identical types get packed together,
so use consistently use one of the two instead of a mix.
Saves 457kB when parsing windows.h.

No intended behavior change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264597 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/MacroInfo.h