Encapsulate "an array of TemplateArgumentLocs and two angle bracket locations" into
a new class. Use it pervasively throughout Sema. My fingers hurt. llvm-svn: 89638
This commit is contained in:
@@ -453,8 +453,9 @@ Create(ASTContext &Context, DeclContext *DC, SourceLocation L,
|
||||
TemplateParameterList *Params,
|
||||
ClassTemplateDecl *SpecializedTemplate,
|
||||
TemplateArgumentListBuilder &Builder,
|
||||
TemplateArgumentLoc *ArgInfos, unsigned N,
|
||||
const TemplateArgumentListInfo &ArgInfos,
|
||||
ClassTemplatePartialSpecializationDecl *PrevDecl) {
|
||||
unsigned N = ArgInfos.size();
|
||||
TemplateArgumentLoc *ClonedArgs = new (Context) TemplateArgumentLoc[N];
|
||||
for (unsigned I = 0; I != N; ++I)
|
||||
ClonedArgs[I] = ArgInfos[I];
|
||||
|
||||
Reference in New Issue
Block a user