mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 04:56:36 +00:00
[NFC] Cleanup comments in HLSLExternalSemaSource.cpp (#119444)
Cleaning up some comments that @bogner pointed out were unpolished.
This commit is contained in:
parent
9bb29c3dc1
commit
e7e42ef116
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user