[all-commits] [llvm/llvm-project] 092a57: [libc++] Fix unqualified call to 'ref' inside shar...

kepler-5 via All-commits all-commits at lists.llvm.org
Thu Feb 20 09:26:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 092a57f5082146b6770f89839666b7545a0d27f0
      https://github.com/llvm/llvm-project/commit/092a57f5082146b6770f89839666b7545a0d27f0
  Author: Logan Smith <logan.r.smith0 at gmail.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M libcxx/include/memory
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_ptr.pass.cpp

  Log Message:
  -----------
  [libc++] Fix unqualified call to 'ref' inside shared_ptr(unique_ptr<U, D>)

This prevents unintended ADL: https://gcc.godbolt.org/z/EHw3Gy
This issue was mentioned as an addendum in PR44398.

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




More information about the All-commits mailing list