[cfe-commits] r104195 - /cfe/trunk/lib/AST/DeclTemplate.cpp

Chris Lattner sabre at nondot.org
Wed May 19 17:26:28 PDT 2010


Author: lattner
Date: Wed May 19 19:26:28 2010
New Revision: 104195

URL: http://llvm.org/viewvc/llvm-project?rev=104195&view=rev
Log:
just add a fixme for the StructuredArgs leak, it shouldn't affect
c++'03 code and variadic support "needs work".

Modified:
    cfe/trunk/lib/AST/DeclTemplate.cpp

Modified: cfe/trunk/lib/AST/DeclTemplate.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclTemplate.cpp?rev=104195&r1=104194&r2=104195&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclTemplate.cpp (original)
+++ cfe/trunk/lib/AST/DeclTemplate.cpp Wed May 19 19:26:28 2010
@@ -327,6 +327,7 @@
 
   AddingToPack = false;
 
+  // FIXME: This is a memory leak!
   StructuredArgs = new TemplateArgument[MaxStructuredArgs];
 
   // First copy the flat entries over to the list  (if any)





More information about the cfe-commits mailing list