[llvm] r206369 - [Allocator] Nuke to useless functions. The implicit ones are sufficient

Chandler Carruth chandlerc at gmail.com
Wed Apr 16 02:21:30 PDT 2014


Author: chandlerc
Date: Wed Apr 16 04:21:29 2014
New Revision: 206369

URL: http://llvm.org/viewvc/llvm-project?rev=206369&view=rev
Log:
[Allocator] Nuke to useless functions. The implicit ones are sufficient
here (obviously).

Modified:
    llvm/trunk/include/llvm/Support/Allocator.h

Modified: llvm/trunk/include/llvm/Support/Allocator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Allocator.h?rev=206369&r1=206368&r2=206369&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Allocator.h (original)
+++ llvm/trunk/include/llvm/Support/Allocator.h Wed Apr 16 04:21:29 2014
@@ -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); }





More information about the llvm-commits mailing list