[PATCH] D144157: Add 128-bit integer support to enum element
zhouyizhou via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 25 16:05:46 PDT 2023
zhouyizhou updated this revision to Diff 508350.
zhouyizhou added a comment.
Add 128-bit integer support to enum element like GCC extension do.
Also test coverage around _BitInt which can be arbitrarily large depending on the target.
Also leave room for improvements to C2X because C2x made changes in this area to how we calculate what type to represent the enumerations in.
Signed-off-by: Zhouyi Zhou <zhouzhouyi at gmail.com>
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144157/new/
https://reviews.llvm.org/D144157
Files:
clang/lib/Sema/SemaDecl.cpp
clang/test/AST/Interp/enums-targets.cpp
clang/test/CXX/drs/dr3xx.cpp
clang/test/CodeGen/enum2.c
clang/test/Sema/enum.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144157.508350.patch
Type: text/x-patch
Size: 8234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230325/39ac9642/attachment.bin>
More information about the cfe-commits
mailing list