aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/Allocator.h
diff options
context:
space:
mode:
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 1421148..ffe0d39 100644
--- a/include/llvm/Support/Allocator.h
+++ b/include/llvm/Support/Allocator.h
@@ -26,7 +26,7 @@ public:
void Reset() {}
- void *Allocate(size_t Size, size_t Alignment) { return malloc(Size); }
+ void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); }
template <typename T>
T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); }
@@ -55,7 +55,7 @@ public:
return static_cast<T*>(Allocate(sizeof(T),AlignOf<T>::Alignment));
}
- void Deallocate(void *Ptr) {}
+ void Deallocate(void */*Ptr*/) {}
void PrintStats() const;
};