[all-commits] [llvm/llvm-project] 05f88b: [libc++][NFC] Replace __apply_cv with __copy_cv or...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Fri May 10 11:06:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05f88b1769db90c10ca66810720b2092f9d73e34
      https://github.com/llvm/llvm-project/commit/05f88b1769db90c10ca66810720b2092f9d73e34
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__tuple/make_tuple_types.h
    R libcxx/include/__type_traits/apply_cv.h
    M libcxx/include/__type_traits/make_signed.h
    M libcxx/include/__type_traits/make_unsigned.h
    M libcxx/include/cwchar
    M libcxx/include/module.modulemap
    M libcxx/include/tuple
    M libcxx/include/type_traits

  Log Message:
  -----------
  [libc++][NFC] Replace __apply_cv with __copy_cv or __copy_cvref (#90867)

`__apply_cv_t` and `__copy_cvref_t` are very closely related. They are
in fact identical except that `__copy_cvref_t` handles rvalue references
properly. Some uses don't actually require handling of references, so
they are replaced with `__copy_cv_t`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list