Separate out the tests for whether the compiler suports R-value
[oota-llvm.git] / include / llvm / Support / Allocator.h
index 6ad5f5cb816adf37efb41c5141998ad0882f95f4..a644b133660f0eb44dec8b4c7b5367830f8ff984 100644 (file)
@@ -79,8 +79,8 @@ class MallocSlabAllocator : public SlabAllocator {
 public:
   MallocSlabAllocator() : Allocator() { }
   virtual ~MallocSlabAllocator();
-  virtual MemSlab *Allocate(size_t Size);
-  virtual void Deallocate(MemSlab *Slab);
+  virtual MemSlab *Allocate(size_t Size) LLVM_OVERRIDE;
+  virtual void Deallocate(MemSlab *Slab) LLVM_OVERRIDE;
 };
 
 /// BumpPtrAllocator - This allocator is useful for containers that need