Skip to content

Commit cd28366

Browse files
committed
clang-format & some cleanup
1 parent 1d04bfa commit cd28366

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/lib/CodeGen/CGHLSLRuntime.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ void CGHLSLRuntime::generateGlobalCtorDtorCalls() {
536536
}
537537
}
538538

539-
// Returns true if the record type is an HLSL resource class
539+
// Returns true if the type is an HLSL resource class
540540
static bool isResourceRecordType(const clang::Type *Ty) {
541541
return HLSLAttributedResourceType::findHandleTypeOnResource(Ty) != nullptr;
542542
}
@@ -602,7 +602,8 @@ void CGHLSLRuntime::handleGlobalVarDefinition(const VarDecl *VD,
602602
// for the resource
603603
const HLSLResourceBindingAttr *RBA = VD->getAttr<HLSLResourceBindingAttr>();
604604
if (!RBA)
605-
// FIXME: collect unbound resources for implicit binding resolution later on?
605+
// FIXME: collect unbound resources for implicit binding resolution later
606+
// on?
606607
return;
607608

608609
if (!isResourceRecordType(VD->getType().getTypePtr()))

clang/test/CodeGenHLSL/builtins/ByteAddressBuffers-constructors.hlsl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ RasterizerOrderedByteAddressBuffer Buffer2: register(u3, space4);
3232
// CHECK: call void @_init_resource_Buffer0()
3333
// CHECK: call void @_init_resource_Buffer1()
3434
// CHECK: call void @_init_resource_Buffer2()
35-

0 commit comments

Comments
 (0)