[all-commits] [llvm/llvm-project] e328d1: [libc] Fix final conversion warnings

michaelrj-google via All-commits all-commits at lists.llvm.org
Wed Aug 9 10:24:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e328d193024e727d7294cd8bed4c549c25c62246
      https://github.com/llvm/llvm-project/commit/e328d193024e727d7294cd8bed4c549c25c62246
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M libc/src/math/generic/exp2f.cpp
    M libc/src/math/generic/tanhf.cpp
    M libc/src/time/difftime.cpp

  Log Message:
  -----------
  [libc] Fix final conversion warnings

This patch fixes the floating point conversion warnings found with
`-Wconversion` and `-Wno-sign-conversion`. These were the last warnings
I found, meaning that once this lands https://reviews.llvm.org/D156630
should be unblocked.

Reviewed By: mcgrathr, lntue

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




More information about the All-commits mailing list