Skip to content

Commit 03da2d1

Browse files
committed
update comment
1 parent 9eab67d commit 03da2d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,8 @@ void SemaHLSL::ActOnFinishBuffer(Decl *Dcl, SourceLocation RBrace) {
561561
HLSLResourceBindingAttr *RBA = Dcl->getAttr<HLSLResourceBindingAttr>();
562562
if (!RBA || RBA->isImplicit()) {
563563
SemaRef.Diag(Dcl->getLocation(), diag::warn_hlsl_implicit_binding);
564-
// Use HLSLResourceBindingAttr as a way to transfer implicit binding
565-
// order_ID to codegen. If it does not exist, create an implicit one.
564+
// Use HLSLResourceBindingAttr to transfer implicit binding order_ID
565+
// to codegen. If it does not exist, create an implicit attribute.
566566
uint32_t OrderID = getNextImplicitBindingOrderID();
567567
if (RBA)
568568
RBA->setImplicitBindingOrderID(OrderID);

0 commit comments

Comments
 (0)