[all-commits] [llvm/llvm-project] dd28e2: [libc++][NFC] Rename __libcpp_*_or_builtin to __co...

philnik777 via All-commits all-commits at lists.llvm.org
Thu Dec 8 00:36:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd28e22953ad4094248d3e47d1f63893c1612d8c
      https://github.com/llvm/llvm-project/commit/dd28e22953ad4094248d3e47d1f63893c1612d8c
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M libcxx/include/cmath
    M libcxx/include/complex
    M libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp

  Log Message:
  -----------
  [libc++][NFC] Rename __libcpp_*_or_builtin to __constexpr_*

We normally use the `__libcpp_` prefix to backport functions, but that doesn't really make sense here. The functions are always available. Using `__constexpr_` makes the intended use of the functions clear.

Reviewed By: Mordante, #libc

Spies: libcxx-commits

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




More information about the All-commits mailing list