[llvm] r231112 - Remove no-op dtor so that use of the implicit copy ctor/assignment operator are not deprecated.

David Blaikie dblaikie at gmail.com
Tue Mar 3 11:52:59 PST 2015


Author: dblaikie
Date: Tue Mar  3 13:52:59 2015
New Revision: 231112

URL: http://llvm.org/viewvc/llvm-project?rev=231112&view=rev
Log:
Remove no-op dtor so that use of the implicit copy ctor/assignment operator are not deprecated.

Modified:
    llvm/trunk/unittests/ADT/HashingTest.cpp

Modified: llvm/trunk/unittests/ADT/HashingTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/HashingTest.cpp?rev=231112&r1=231111&r2=231112&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/HashingTest.cpp (original)
+++ llvm/trunk/unittests/ADT/HashingTest.cpp Tue Mar  3 13:52:59 2015
@@ -33,7 +33,6 @@ struct LargeTestInteger { uint64_t arr[8
 struct NonPOD {
   uint64_t x, y;
   NonPOD(uint64_t x, uint64_t y) : x(x), y(y) {}
-  ~NonPOD() {}
   friend hash_code hash_value(const NonPOD &obj) {
     return hash_combine(obj.x, obj.y);
   }





More information about the llvm-commits mailing list