[all-commits] [llvm/llvm-project] 9fda21: [libcxx] Qualify make_move_iterator in vector::ins...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Feb 11 02:00:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fda213d625a1f39954a8ba5311e1483d9d0db3e
      https://github.com/llvm/llvm-project/commit/9fda213d625a1f39954a8ba5311e1483d9d0db3e
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M libcxx/include/vector
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp

  Log Message:
  -----------
  [libcxx] Qualify make_move_iterator in vector::insert for input iterators

Unqualified calls to make_move_iterator in the vector::insert overload
for input iterators lead to ADL issues: https://gcc.godbolt.org/z/bmcNbh

Patch by Logan Smith.

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




More information about the All-commits mailing list