summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Allocator.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-09-23 02:12:10 +0000
committerCraig Topper <craig.topper@gmail.com>2012-09-23 02:12:10 +0000
commita96a1824747632ce87ef065b4a13fb777d2b14d6 (patch)
tree7a4851895fbb852ec33c6b8ece55584e9ad03014 /include/llvm/Support/Allocator.h
parent4d6b84028ab3b135308296d61a8acfc3fd0b1fb1 (diff)
downloadllvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.gz
llvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.bz2
llvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.xz
Add LLVM_OVERRIDE to methods that override their base classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Allocator.h')
-rw-r--r--include/llvm/Support/Allocator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/Allocator.h b/include/llvm/Support/Allocator.h
index 6ad5f5cb81..a644b13366 100644
--- a/include/llvm/Support/Allocator.h
+++ b/include/llvm/Support/Allocator.h
@@ -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