[PATCH] D144218: [Clang] [AVR] Fix USHRT_MAX for 16-bit int.
Daniel Thornburgh via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 23 11:13:26 PST 2023
mysterymath updated this revision to Diff 499922.
mysterymath added a comment.
Use #if to select between signed and unsigned USHRT_MAX.
Add tests for the types of limit macros specified by the standard.
Add tests that limit macros can be used in #if.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144218/new/
https://reviews.llvm.org/D144218
Files:
clang/docs/ReleaseNotes.rst
clang/lib/Headers/limits.h
clang/test/Headers/limits.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144218.499922.patch
Type: text/x-patch
Size: 6678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230223/926a13b4/attachment.bin>
More information about the cfe-commits
mailing list