summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristof Beyls <kristof.beyls@arm.com>2017-03-30 10:47:41 +0000
committerKristof Beyls <kristof.beyls@arm.com>2017-03-30 10:47:41 +0000
commit1ba115a113ec7ca2f6df0edad112b4479860de81 (patch)
tree14039b0cf36d76501a2115beb01f53aeef07493e
parent2157e9a22ad18e005c3e61c23986c2e869e3a1b3 (diff)
downloadbcm5719-llvm-1ba115a113ec7ca2f6df0edad112b4479860de81.tar.gz
bcm5719-llvm-1ba115a113ec7ca2f6df0edad112b4479860de81.zip
Another attempt fix the Windows builds
By changing more detail::... to llvm::detail::... llvm-svn: 299065
-rw-r--r--llvm/include/llvm/ADT/DenseSet.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/include/llvm/ADT/DenseSet.h b/llvm/include/llvm/ADT/DenseSet.h
index a89d2faf374..8d7d6130233 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<iterator, bool> insert(const ValueT &V) {
- detail::DenseSetEmpty Empty;
+ llvm::detail::DenseSetEmpty Empty;
return TheMap.try_emplace(V, Empty);
}
std::pair<iterator, bool> insert(ValueT &&V) {
- detail::DenseSetEmpty Empty;
+ llvm::detail::DenseSetEmpty Empty;
return TheMap.try_emplace(std::move(V), Empty);
}
@@ -193,11 +193,12 @@ public:
template <typename LookupKeyT>
std::pair<iterator, bool> 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 <typename LookupKeyT>
std::pair<iterator, bool> 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.
OpenPOWER on IntegriCloud