[all-commits] [llvm/llvm-project] 99b7c2: [libc++] Remove conditional usage of rvalue refere...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Mar 10 11:44:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99b7c2bad3e5898353223c4682dce8ce31a69f30
      https://github.com/llvm/llvm-project/commit/99b7c2bad3e5898353223c4682dce8ce31a69f30
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M libcxx/include/exception

  Log Message:
  -----------
  [libc++] Remove conditional usage of rvalue references in C++03

This one is easy -- Clang supports rvalue references in C++03 mode, so
we should be able to remove that conditional.

As a fly-by fix, turn a few static_casts to std::forward.

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




More information about the All-commits mailing list