[PATCH] D50631: [AST] Stuff more data into FunctionTypeBitfields
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 13 12:20:10 PDT 2018
rjmccall added a comment.
We should absolutely have static assertions to check that these bit-field types don't get larger than 32 bits. A lot of the subclass layouts have been tweaked to fit that (packing into the tail padding of `Type` on 64-bit targets), so accidentally overflowing to use more bits in the base is going to lead to a lot of bloat.
Repository:
rC Clang
https://reviews.llvm.org/D50631
More information about the cfe-commits
mailing list