From 1ba115a113ec7ca2f6df0edad112b4479860de81 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::... llvm-svn: 299065 --- llvm/include/llvm/ADT/DenseSet.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/ADT/DenseSet.h b/llvm/include/llvm/ADT/DenseSet.h index a89d2fa..8d7d613 100644 --- a/llvm/include/llvm/ADT/DenseSet.h +++ b/llvm/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.7.4