shafik added inline comments.
================
Comment at: clang/lib/Sema/SemaInit.cpp:866
ElementEntity.getKind() == InitializedEntity::EK_VectorElement)
ElementEntity.setElementIndex(Init);
----------------
`setElementIndex(...)` takes `unsigned` as well and therefore
`InitializedEntity` also uses `unsigned`.
I briefly looked at this with another bug
https://github.com/llvm/llvm-project/issues/57317
and I believe the 32 bit assumption is made in a lot of this code in this area.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133648/new/
https://reviews.llvm.org/D133648
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits