From: Eli Friedman Date: Tue, 11 Jun 2013 17:58:38 +0000 (+0000) Subject: Make ASTContext::Allocate use size_t for the size argument. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=605c59a1d1a11112c643031770c616e2e441c349;p=clang Make ASTContext::Allocate use size_t for the size argument. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183757 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 324185f090..9361ebea1b 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -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 { }