[all-commits] [llvm/llvm-project] 4b8543: [libc][NFC] fix constants not marked constexpr

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Jun 8 16:43:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b8543f33fa20c1dd9933cbbfea76a6a41294adb
      https://github.com/llvm/llvm-project/commit/4b8543f33fa20c1dd9933cbbfea76a6a41294adb
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M libc/src/__support/ryu_constants.h
    M libc/src/__support/ryu_long_double_constants.h

  Log Message:
  -----------
  [libc][NFC] fix constants not marked constexpr

The constants in the ryu constant tables were not marked constexpr,
only static const. This caused problems when compiling with GCC.

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




More information about the All-commits mailing list