@@ -325,9 +325,9 @@ struct TemplateParameterListBuilder {
325325 Context, // AST context
326326 Builder.Record ->getDeclContext (), // DeclContext
327327 SourceLocation (), SourceLocation (),
328- /* depth =*/ 0 , // Depth in the template parameter list
329- /* position =*/ 0 , // Position in the template parameter list
330- /* id =*/ nullptr , // Identifier for 'T'
328+ /* D =*/ 0 , // Depth in the template parameter list
329+ /* P =*/ 0 , // Position in the template parameter list
330+ /* Id =*/ nullptr , // Identifier for 'T'
331331 /* Typename=*/ true , // Indicates this is a 'typename' or 'class'
332332 /* ParameterPack=*/ false , // Not a parameter pack
333333 /* HasTypeConstraint=*/ false // Has no type constraint
@@ -851,7 +851,7 @@ static Expr *constructTypedBufferConstraintExpr(Sema &S, SourceLocation NameLoc,
851851 TemplateTypeParmDecl *T) {
852852 ASTContext &Context = S.getASTContext ();
853853
854- // Obtain the QualType for 'unsigned long '
854+ // Obtain the QualType for 'bool '
855855 QualType BoolTy = Context.BoolTy ;
856856
857857 // Create a QualType that points to this TemplateTypeParmDecl
@@ -877,9 +877,9 @@ static ConceptDecl *constructTypedBufferConceptDecl(Sema &S,
877877 IdentifierInfo &ElementTypeII = Context.Idents .get (" element_type" );
878878 TemplateTypeParmDecl *T = TemplateTypeParmDecl::Create (
879879 Context, NSD->getDeclContext (), DeclLoc, DeclLoc,
880- /* depth =*/ 0 ,
881- /* position =*/ 0 ,
882- /* id =*/ &ElementTypeII,
880+ /* D =*/ 0 ,
881+ /* P =*/ 0 ,
882+ /* Id =*/ &ElementTypeII,
883883 /* Typename=*/ true ,
884884 /* ParameterPack=*/ false );
885885
0 commit comments