aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-12-28 11:04:08 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-12-28 11:04:11 +0800
commit52770d83bf00fc56e9496e32f083f0f940bf7315 (patch)
treee41fea1a83e9b0d7fb9a1284a83c754d19fa6735 /flang/lib/Frontend/CompilerInvocation.cpp
parentc2c840bd92cfac155f6205ff7505b109b301d389 (diff)
downloadllvm-52770d83bf00fc56e9496e32f083f0f940bf7315.zip
llvm-52770d83bf00fc56e9496e32f083f0f940bf7315.tar.gz
llvm-52770d83bf00fc56e9496e32f083f0f940bf7315.tar.bz2
[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.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions