FoldingSet: Make FoldingSetImpl's dtor protected and non-virtual
[oota-llvm.git] / lib / Support / FoldingSet.cpp
index 0bee31510f7c59f1cb8d0383433678e57d12de6a..80d2aefe8706df8050c866c6ea42962def22ccce 100644 (file)
@@ -223,6 +223,8 @@ static void **AllocateBuckets(unsigned NumBuckets) {
 //===----------------------------------------------------------------------===//
 // FoldingSetImpl Implementation
 
+void FoldingSetImpl::anchor() {}
+
 FoldingSetImpl::FoldingSetImpl(unsigned Log2InitSize) {
   assert(5 < Log2InitSize && Log2InitSize < 32 &&
          "Initial hash table size out of range");