@@ -318,22 +318,6 @@ class DenseMapBase : public DebugEpochBase {
318318 return Ret;
319319 }
320320
321- // / Returns the value associated to the key in the map if it exists. If it
322- // / does not exist, emplace a default value for the key and returns a
323- // / reference to the newly created value.
324- LLVM_DEPRECATED (" Use operator[] instead" , " [Key]" )
325- ValueT &getOrInsertDefault (KeyT &&Key) {
326- return try_emplace (Key).first ->second ;
327- }
328-
329- // / Returns the value associated to the key in the map if it exists. If it
330- // / does not exist, emplace a default value for the key and returns a
331- // / reference to the newly created value.
332- LLVM_DEPRECATED (" Use operator[] instead" , " [Key]" )
333- ValueT &getOrInsertDefault (const KeyT &Key) {
334- return try_emplace (Key).first ->second ;
335- }
336-
337321 bool erase (const KeyT &Val) {
338322 BucketT *TheBucket = doFind (Val);
339323 if (!TheBucket)
@@ -353,15 +337,6 @@ class DenseMapBase : public DebugEpochBase {
353337 incrementNumTombstones ();
354338 }
355339
356- LLVM_DEPRECATED (" Use [Key] instead" , " [Key]" )
357- value_type &FindAndConstruct (const KeyT &Key) {
358- BucketT *TheBucket;
359- if (LookupBucketFor (Key, TheBucket))
360- return *TheBucket;
361-
362- return *InsertIntoBucket (TheBucket, Key);
363- }
364-
365340 ValueT &operator [](const KeyT &Key) {
366341 BucketT *TheBucket;
367342 if (LookupBucketFor (Key, TheBucket))
@@ -370,15 +345,6 @@ class DenseMapBase : public DebugEpochBase {
370345 return InsertIntoBucket (TheBucket, Key)->second ;
371346 }
372347
373- LLVM_DEPRECATED (" Use [Key] instead" , " [Key]" )
374- value_type &FindAndConstruct (KeyT &&Key) {
375- BucketT *TheBucket;
376- if (LookupBucketFor (Key, TheBucket))
377- return *TheBucket;
378-
379- return *InsertIntoBucket (TheBucket, std::move (Key));
380- }
381-
382348 ValueT &operator [](KeyT &&Key) {
383349 BucketT *TheBucket;
384350 if (LookupBucketFor (Key, TheBucket))
0 commit comments