[cfe-commits] r111514 - /cfe/trunk/include/clang/AST/Attr.h

Eli Friedman eli.friedman at gmail.com
Wed Aug 18 23:13:01 PDT 2010


Author: efriedma
Date: Thu Aug 19 01:13:01 2010
New Revision: 111514

URL: http://llvm.org/viewvc/llvm-project?rev=111514&view=rev
Log:
Remove default argument from operator delete; per report on cfe-dev, fixes
compilation with MSVC.  Note that on other platforms, the operator delete in
question is never used because we compile with -fno-exceptions.


Modified:
    cfe/trunk/include/clang/AST/Attr.h

Modified: cfe/trunk/include/clang/AST/Attr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Attr.h?rev=111514&r1=111513&r2=111514&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Attr.h (original)
+++ cfe/trunk/include/clang/AST/Attr.h Thu Aug 19 01:13:01 2010
@@ -78,7 +78,7 @@
     return ::operator new(Bytes, C, Alignment);
   }
   void operator delete(void *Ptr, ASTContext &C,
-                       size_t Alignment = 16) throw() {
+                       size_t Alignment) throw() {
     return ::operator delete(Ptr, C, Alignment);
   }
 





More information about the cfe-commits mailing list