[cfe-commits] r62707 - /cfe/trunk/include/clang/AST/ASTContext.h
Steve Naroff
snaroff at apple.com
Wed Jan 21 11:34:14 PST 2009
Author: snaroff
Date: Wed Jan 21 13:34:14 2009
New Revision: 62707
URL: http://llvm.org/viewvc/llvm-project?rev=62707&view=rev
Log:
Removed alignment argument to delete operator. It isn't needed and Visual Studio is offended by it.
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=62707&r1=62706&r2=62707&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Wed Jan 21 13:34:14 2009
@@ -589,7 +589,7 @@
/// invoking it directly; see the new operator for more details. This operator
/// is called implicitly by the compiler if a placement new expression using
/// the ASTContext throws in the object constructor.
-inline void operator delete(void *Ptr, clang::ASTContext &C, size_t = 16)
+inline void operator delete(void *Ptr, clang::ASTContext &C)
throw () {
C.getAllocator().Deallocate(Ptr);
}
More information about the cfe-commits
mailing list