r183757 - Make ASTContext::Allocate use size_t for the size argument.
Eli Friedman
eli.friedman at gmail.com
Tue Jun 11 10:58:39 PDT 2013
Author: efriedma
Date: Tue Jun 11 12:58:38 2013
New Revision: 183757
URL: http://llvm.org/viewvc/llvm-project?rev=183757&view=rev
Log:
Make ASTContext::Allocate use size_t for the size argument.
Modified:
cfe/trunk/include/clang/AST/ASTContext.h
Modified: cfe/trunk/include/clang/AST/ASTContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTContext.h?rev=183757&r1=183756&r2=183757&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Tue Jun 11 12:58:38 2013
@@ -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 { }
More information about the cfe-commits
mailing list