[clang] Fix crash caused by PseudoObjectExprBitfields::NumSubExprs overflow
This patch makes the bit-fields wider, and also implement a small optimization for `PseudoObjectExprBitfields`, when there is no result in `PseudoObjectExpr`, we use 32 bits to store the number of subexpressions, otherwise, we use 16 bits to store the number of subexpressions, and use 16 bits to store the result indexes. Fixes https://github.com/llvm/llvm-project/issues/63169 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D154784
Loading
Please sign in to comment