diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 0ceca926c68..07a17535fc9 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -256,6 +256,7 @@ public: DestroyAll(); init(0); swap(other); + return *this; } #endif