Remove broken support for variadic templates, along with the various
abstractions (e.g., TemplateArgumentListBuilder) that were designed to
support variadic templates. Only a few remnants of variadic templates
remain, in the parser (parsing template type parameter packs), AST
(template type parameter pack bits and TemplateArgument::Pack), and
Sema; these are expected to be used in a future implementation of
variadic templates.

But don't get too excited about that happening now.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118385 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index 9ecaa1f..3e65392 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -2720,8 +2720,8 @@
     llvm::raw_svector_ostream OS(Str);
     OS << ClassSpec->getNameAsString();
     OS << TemplateSpecializationType::PrintTemplateArgumentList(
-                            ClassSpec->getTemplateArgs().getFlatArgumentList(),
-                                      ClassSpec->getTemplateArgs().flat_size(),
+                                      ClassSpec->getTemplateArgs().data(),
+                                      ClassSpec->getTemplateArgs().size(),
                                                                 Policy);
     return createCXString(OS.str());
   }