[all-commits] [llvm/llvm-project] 335375: [clang][NFC] pack StaticDiagInfoRec
Nathan James via All-commits
all-commits at lists.llvm.org
Tue Mar 2 18:53:31 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 335375ef2c66408da751223d13758d14da248cd3
https://github.com/llvm/llvm-project/commit/335375ef2c66408da751223d13758d14da248cd3
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2021-03-03 (Wed, 03 Mar 2021)
Changed paths:
M clang/lib/Basic/DiagnosticIDs.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list