[Allocator] Nuke to useless functions. The implicit ones are sufficient
authorChandler Carruth <chandlerc@gmail.com>
Wed, 16 Apr 2014 09:21:29 +0000 (09:21 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 16 Apr 2014 09:21:29 +0000 (09:21 +0000)
here (obviously).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206369 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Allocator.h

index 82c200abd0672f088efd0e1cdf6d54f4ccbd43fa..a2923fdd691ae72ba12285a9e8778b559a09a385 100644 (file)
@@ -94,9 +94,6 @@ public:
 
 class MallocAllocator : public AllocatorBase<MallocAllocator> {
 public:
-  MallocAllocator() {}
-  ~MallocAllocator() {}
-
   void Reset() {}
 
   void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); }