]> granicus.if.org Git - clang/commitdiff
just add a fixme for the StructuredArgs leak, it shouldn't affect
authorChris Lattner <sabre@nondot.org>
Thu, 20 May 2010 00:26:28 +0000 (00:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 20 May 2010 00:26:28 +0000 (00:26 +0000)
c++'03 code and variadic support "needs work".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104195 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/DeclTemplate.cpp

index 98c5bb78ff2f76de80ca12ac6a488adf032cb839..7dd2aff6fb89a7a8af4d361625e0d9ecacb6d212 100644 (file)
@@ -327,6 +327,7 @@ void TemplateArgumentListBuilder::EndPack() {
 
   AddingToPack = false;
 
+  // FIXME: This is a memory leak!
   StructuredArgs = new TemplateArgument[MaxStructuredArgs];
 
   // First copy the flat entries over to the list  (if any)