[all-commits] [llvm/llvm-project] abcdc2: [libc] get_table_negative cannot be constexpr

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Jan 5 06:31:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abcdc26a81d183e3256ce2751530a971ef6c4191
      https://github.com/llvm/llvm-project/commit/abcdc26a81d183e3256ce2751530a971ef6c4191
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M libc/src/__support/float_to_string.h

  Log Message:
  -----------
  [libc] get_table_negative cannot be constexpr

GCC complains about if conditions not being constant expressions.
As-is get_table_negative cannot be marked constexpr.

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




More information about the All-commits mailing list