[clang][NFC] pack StaticDiagInfoRec
authorNathan James <n.james93@hotmail.co.uk>
Wed, 3 Mar 2021 02:53:09 +0000 (02:53 +0000)
committerNathan James <n.james93@hotmail.co.uk>
Wed, 3 Mar 2021 02:53:10 +0000 (02:53 +0000)
commit335375ef2c66408da751223d13758d14da248cd3
tree8c7c1c7a379d12fe024bf886e155da6e0a851fc2
parent1a91b8232a5d31ef3a4f8eb52f5a7aaf79525b9b
[clang][NFC] pack StaticDiagInfoRec

Exchanging types, reordering fields and borrowing a bit from OptionGroupIndex shrinks this from 12 bytes to 8.
This knocks ~20k from the binary size.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D97553
clang/lib/Basic/DiagnosticIDs.cpp