[all-commits] [llvm/llvm-project] bf7d99: Support the *_WIDTH macros in limits.h and stdint.h

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Jan 13 08:46:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf7d9970ba0ac5ecfa1a469086f5789de5c94e3f
      https://github.com/llvm/llvm-project/commit/bf7d9970ba0ac5ecfa1a469086f5789de5c94e3f
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Headers/limits.h
    M clang/lib/Headers/stdint.h
    M clang/test/Headers/limits.cpp
    A clang/test/Headers/stdint.c
    M clang/test/Preprocessor/init-aarch64.c
    M clang/test/Preprocessor/init.c
    M clang/www/c_status.html

  Log Message:
  -----------
  Support the *_WIDTH macros in limits.h and stdint.h

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.




More information about the All-commits mailing list