From bbf03d028e77fa63346e0414b5e0bb5b56ceb705 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 29 May 2012 20:33:09 +0000 Subject: [PATCH] DenseMap's move assignment operator needs to return *this llvm-svn: 157644 --- include/llvm/ADT/DenseMap.h | 1 + 1 file changed, 1 insertion(+) 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