Exchanging types, reordering fields and borrowing a bit from OptionGroupIndex shrinks this from 12 bytes to 8.
This knocks ~20k from the binary size.
Details
Details
- Reviewers
rsmith aaron.ballman - Commits
- rG335375ef2c66: [clang][NFC] pack StaticDiagInfoRec
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM!
clang/lib/Basic/DiagnosticIDs.cpp | ||
---|---|---|
171 | FWIW, I'd personally prefer to remove the clang-format on comment below. I'm not keen on littering the code base with workarounds for clang-format. |
FWIW, I'd personally prefer to remove the clang-format on comment below. I'm not keen on littering the code base with workarounds for clang-format.