[Serialization] Don't pack bits for the function scope index of ParmVarDecl
Close https://github.com/llvm/llvm-project/issues/76443 Previously we assume the bits of the function scope index of ParmVarDecl won't exceed 8. But this is a misreading. See the implementation of `ParmVarDecl::getParameterIndex()`, which may exceed the size of the normal bitfield. So it may be better to not pack these bits.
parent
c2c840bd
Please register or sign in to comment