forked from OSchip/llvm-project
Make ASTContext::Allocate use size_t for the size argument.
llvm-svn: 183757
This commit is contained in:
parent
a82555c0f8
commit
02de0986b9
|
@ -457,7 +457,7 @@ public:
|
|||
return BumpAlloc;
|
||||
}
|
||||
|
||||
void *Allocate(unsigned Size, unsigned Align = 8) const {
|
||||
void *Allocate(size_t Size, unsigned Align = 8) const {
|
||||
return BumpAlloc.Allocate(Size, Align);
|
||||
}
|
||||
void Deallocate(void *Ptr) const { }
|
||||
|
|
Loading…
Reference in New Issue