[NFC] Cleanup comments in HLSLExternalSemaSource.cpp (#119444)

Cleaning up some comments that @bogner pointed out were unpolished.
This commit is contained in:
Joshua Batista 2024-12-10 16:49:26 -05:00 committed by GitHub
parent 9bb29c3dc1
commit e7e42ef116
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -325,9 +325,9 @@ struct TemplateParameterListBuilder {
Context, // AST context
Builder.Record->getDeclContext(), // DeclContext
SourceLocation(), SourceLocation(),
/*depth=*/0, // Depth in the template parameter list
/*position=*/0, // Position in the template parameter list
/*id=*/nullptr, // Identifier for 'T'
/*D=*/0, // Depth in the template parameter list
/*P=*/0, // Position in the template parameter list
/*Id=*/nullptr, // Identifier for 'T'
/*Typename=*/true, // Indicates this is a 'typename' or 'class'
/*ParameterPack=*/false, // Not a parameter pack
/*HasTypeConstraint=*/false // Has no type constraint
@ -851,7 +851,7 @@ static Expr *constructTypedBufferConstraintExpr(Sema &S, SourceLocation NameLoc,
TemplateTypeParmDecl *T) {
ASTContext &Context = S.getASTContext();
// Obtain the QualType for 'unsigned long'
// Obtain the QualType for 'bool'
QualType BoolTy = Context.BoolTy;
// Create a QualType that points to this TemplateTypeParmDecl
@ -877,9 +877,9 @@ static ConceptDecl *constructTypedBufferConceptDecl(Sema &S,
IdentifierInfo &ElementTypeII = Context.Idents.get("element_type");
TemplateTypeParmDecl *T = TemplateTypeParmDecl::Create(
Context, NSD->getDeclContext(), DeclLoc, DeclLoc,
/*depth=*/0,
/*position=*/0,
/*id=*/&ElementTypeII,
/*D=*/0,
/*P=*/0,
/*Id=*/&ElementTypeII,
/*Typename=*/true,
/*ParameterPack=*/false);