[all-commits] [llvm/llvm-project] a4d48e: [libc][NFC] Use cpp::optional for checking excepti...

lntue via All-commits all-commits at lists.llvm.org
Thu Sep 1 14:39:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4d48e3b0b66cacb8c42be8421608f7efd170c24
      https://github.com/llvm/llvm-project/commit/a4d48e3b0b66cacb8c42be8421608f7efd170c24
  Author: Tue Ly <lntue at google.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/except_value_utils.h
    M libc/src/math/generic/cosf.cpp
    M libc/src/math/generic/tanf.cpp

  Log Message:
  -----------
  [libc][NFC] Use cpp::optional for checking exceptional values of math functions.

Update the utility functions for checking exceptional values of math
functions to use cpp::optional return values.

Reviewed By: sivachandra

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




More information about the All-commits mailing list