diff options
author | Joshua Batista <jbatista@microsoft.com> | 2024-12-10 16:49:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-10 13:49:26 -0800 |
commit | e7e42ef116194f987672b3ed38ddbbfc0150b563 (patch) | |
tree | ebda8def9e693eb79aaac7496ee63b408fc2bbc5 /clang/lib/Sema/HLSLExternalSemaSource.cpp | |
parent | 9bb29c3dc19aad6d89fc4bfc488479d8b74ee4ff (diff) | |
download | llvm-e7e42ef116194f987672b3ed38ddbbfc0150b563.zip llvm-e7e42ef116194f987672b3ed38ddbbfc0150b563.tar.gz llvm-e7e42ef116194f987672b3ed38ddbbfc0150b563.tar.bz2 |
[NFC] Cleanup comments in HLSLExternalSemaSource.cpp (#119444)
Cleaning up some comments that @bogner pointed out were unpolished.
Diffstat (limited to 'clang/lib/Sema/HLSLExternalSemaSource.cpp')
-rw-r--r-- | clang/lib/Sema/HLSLExternalSemaSource.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/lib/Sema/HLSLExternalSemaSource.cpp b/clang/lib/Sema/HLSLExternalSemaSource.cpp index 2967265..79fc275 100644 --- a/clang/lib/Sema/HLSLExternalSemaSource.cpp +++ b/clang/lib/Sema/HLSLExternalSemaSource.cpp @@ -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); |