[PATCH] D117238: [C2x] Add BITINT_MAXWIDTH support

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 12:43:48 PST 2022


aaron.ballman updated this revision to Diff 403008.
aaron.ballman added a comment.

Updated based on review feedback. I added an additional assert to test that the value picked by the target meets the requirements from the C standard. (We already had a test case for it in lit, but no reason not to assert for even earlier notification of an issue.)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117238/new/

https://reviews.llvm.org/D117238

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/TargetInfo.h
  clang/lib/Frontend/InitPreprocessor.cpp
  clang/lib/Headers/limits.h
  clang/lib/Sema/SemaType.cpp
  clang/test/CodeGen/ext-int-cc.c
  clang/test/CodeGen/ext-int.c
  clang/test/CodeGenCXX/ext-int.cpp
  clang/test/Headers/limits.cpp
  clang/test/Preprocessor/init-aarch64.c
  clang/test/Preprocessor/init.c
  clang/test/Sema/builtins-overflow.c
  clang/test/SemaCXX/ext-int.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117238.403008.patch
Type: text/x-patch
Size: 33638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220125/44c77890/attachment-0001.bin>


More information about the cfe-commits mailing list