[all-commits] [llvm/llvm-project] 0fecac: [Clang] [AVR] Fix USHRT_MAX for 16-bit int.

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Mon Feb 27 12:04:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fecac18ffad476b5a4682770f6d8b1f0f176b40
      https://github.com/llvm/llvm-project/commit/0fecac18ffad476b5a4682770f6d8b1f0f176b40
  Author: Daniel Thornburgh <mysterymath at gmail.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Headers/limits.h
    M clang/test/Headers/limits.cpp

  Log Message:
  -----------
  [Clang] [AVR] Fix USHRT_MAX for 16-bit int.

For AVR, the definition of USHRT_MAX overflows.

Reviewed By: aaron.ballman, #clang-language-wg

Differential Revision: https://reviews.llvm.org/D144218




More information about the All-commits mailing list