[PATCH] D115253: [C2x] Support the *_WIDTH macros in limits.h and stdint.h
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 7 08:15:42 PST 2021
aaron.ballman created this revision.
aaron.ballman added reviewers: rsmith, jfb, jyknight, erichkeane.
Herald added subscribers: mstorsjo, fedor.sergeev, dschuff.
aaron.ballman requested review of this revision.
Herald added a subscriber: aheejin.
Herald added a project: clang.
This completes the implementation of WG14 N2412 (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2412.pdf), which standardizes C on a twos complement representation for integer types. The only work that remained there was to define the correct macros in the standard headers, which this patch does.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115253
Files:
clang/docs/ReleaseNotes.rst
clang/lib/Frontend/InitPreprocessor.cpp
clang/lib/Headers/limits.h
clang/lib/Headers/stdint.h
clang/test/Headers/limits.cpp
clang/test/Headers/stdint.c
clang/test/Preprocessor/init-aarch64.c
clang/test/Preprocessor/init.c
clang/www/c_status.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115253.392414.patch
Type: text/x-patch
Size: 45230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211207/b845af30/attachment-0001.bin>
More information about the cfe-commits
mailing list