[all-commits] [llvm/llvm-project] 2f2b93: [C23] Correct the type for INFINITY and NAN in fre...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Mon Jul 8 06:10:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f2b931e1296aebe6c03fd969363683b637973e5
      https://github.com/llvm/llvm-project/commit/2f2b931e1296aebe6c03fd969363683b637973e5
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M clang/lib/Headers/float.h
    M clang/test/Headers/float.c

  Log Message:
  -----------
  [C23] Correct the type for INFINITY and NAN in freestanding

This amends bcb7c38af7de59f3b2201734ee11987839cd7bbe to correct the
type use for the two macros to be float rather than double. Also adds
additional test coverage.

https://github.com/llvm/llvm-project/issues/98018 was filed to track
the duplicate diagnostic issue that was discovered.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list