[all-commits] [llvm/llvm-project] 5b4a98: [libcxx] Qualify make_pair in searcher implementat...
kepler-5 via All-commits
all-commits at lists.llvm.org
Thu May 7 08:57:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5b4a98eb58aa7672bbdc5e31e573f8f1220fc9c7
https://github.com/llvm/llvm-project/commit/5b4a98eb58aa7672bbdc5e31e573f8f1220fc9c7
Author: Logan Smith <logan.r.smith0 at gmail.com>
Date: 2020-05-07 (Thu, 07 May 2020)
Changed paths:
M libcxx/include/functional
M libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp
Log Message:
-----------
[libcxx] Qualify make_pair in searcher implementations to prevent ADL
This patch adds `_VSTD::` to some calls to `make_pair` inside the
implementations of searchers, to prevent things exploding if there is
a make_pair in an associated namespace of a user-defined type.
https://godbolt.org/z/xAFG98
Differential Revision: https://reviews.llvm.org/D72640
More information about the All-commits
mailing list