@@ -325,9 +325,9 @@ struct TemplateParameterListBuilder {
325
325
Context, // AST context
326
326
Builder.Record ->getDeclContext (), // DeclContext
327
327
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'
331
331
/* Typename=*/ true , // Indicates this is a 'typename' or 'class'
332
332
/* ParameterPack=*/ false , // Not a parameter pack
333
333
/* HasTypeConstraint=*/ false // Has no type constraint
@@ -851,7 +851,7 @@ static Expr *constructTypedBufferConstraintExpr(Sema &S, SourceLocation NameLoc,
851
851
TemplateTypeParmDecl *T) {
852
852
ASTContext &Context = S.getASTContext ();
853
853
854
- // Obtain the QualType for 'unsigned long '
854
+ // Obtain the QualType for 'bool '
855
855
QualType BoolTy = Context.BoolTy ;
856
856
857
857
// Create a QualType that points to this TemplateTypeParmDecl
@@ -877,9 +877,9 @@ static ConceptDecl *constructTypedBufferConceptDecl(Sema &S,
877
877
IdentifierInfo &ElementTypeII = Context.Idents .get (" element_type" );
878
878
TemplateTypeParmDecl *T = TemplateTypeParmDecl::Create (
879
879
Context, NSD->getDeclContext (), DeclLoc, DeclLoc,
880
- /* depth =*/ 0 ,
881
- /* position =*/ 0 ,
882
- /* id =*/ &ElementTypeII,
880
+ /* D =*/ 0 ,
881
+ /* P =*/ 0 ,
882
+ /* Id =*/ &ElementTypeII,
883
883
/* Typename=*/ true ,
884
884
/* ParameterPack=*/ false );
885
885
0 commit comments