[all-commits] [llvm/llvm-project] 3b7280: [libc++] NFCI: Return pointer instead of reference...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Dec 14 14:51:18 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b7280f5e4aec935c7debf68e792c1aad2f7c5a7
      https://github.com/llvm/llvm-project/commit/3b7280f5e4aec935c7debf68e792c1aad2f7c5a7
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2020-12-14 (Mon, 14 Dec 2020)

  Changed paths:
    M libcxx/include/memory

  Log Message:
  -----------
  [libc++] NFCI: Return pointer instead of reference from __shared_ptr_emplace helper method

This makes __get_alloc consistent with __get_elem, and will reduce the
diff required to implement P0674R1.




More information about the All-commits mailing list