From 578991f2fdac6e71fd6a1a3d0f41ea0a11e6a63e Mon Sep 17 00:00:00 2001 From: Kristof Beyls Date: Thu, 30 Mar 2017 10:47:41 +0000 Subject: [PATCH] Another attempt fix the Windows builds By changing more detail::... to llvm::detail::... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299065 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/DenseSet.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/llvm/ADT/DenseSet.h b/include/llvm/ADT/DenseSet.h index a89d2faf374..8d7d6130233 100644 --- a/include/llvm/ADT/DenseSet.h +++ b/include/llvm/ADT/DenseSet.h @@ -179,12 +179,12 @@ public: void erase(ConstIterator CI) { return TheMap.erase(CI.I); } std::pair insert(const ValueT &V) { - detail::DenseSetEmpty Empty; + llvm::detail::DenseSetEmpty Empty; return TheMap.try_emplace(V, Empty); } std::pair insert(ValueT &&V) { - detail::DenseSetEmpty Empty; + llvm::detail::DenseSetEmpty Empty; return TheMap.try_emplace(std::move(V), Empty); } @@ -193,11 +193,12 @@ public: template std::pair insert_as(const ValueT &V, const LookupKeyT &LookupKey) { - return TheMap.insert_as({V, detail::DenseSetEmpty()}, LookupKey); + return TheMap.insert_as({V, llvm::detail::DenseSetEmpty()}, LookupKey); } template std::pair insert_as(ValueT &&V, const LookupKeyT &LookupKey) { - return TheMap.insert_as({std::move(V), detail::DenseSetEmpty()}, LookupKey); + return TheMap.insert_as({std::move(V), llvm::detail::DenseSetEmpty()}, + LookupKey); } // Range insertion of values. -- 2.40.0