[all-commits] [llvm/llvm-project] 21d405: Mark shared_ptr::__create_with_control_block as no...

Zoe Carver via All-commits all-commits at lists.llvm.org
Tue May 19 17:17:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 21d4050e2c999ed183a345a2dcd6792c9b71bf60
      https://github.com/llvm/llvm-project/commit/21d4050e2c999ed183a345a2dcd6792c9b71bf60
  Author: zoecarver <z.zoelec2 at gmail.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M libcxx/include/memory

  Log Message:
  -----------
  Mark shared_ptr::__create_with_control_block as noexcept.

Summary: The default constructor for shared_ptr and shared_ptr::__enable_weak_this are both noexcept so, shared_ptr::__create_with_control_block can also be marked noexcept.

Reviewers: ldionne, #libc!

Subscribers: dexonsmith, libcxx-commits

Tags: #libc

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




More information about the All-commits mailing list