Skip to content

Commit a25ac0a

Browse files
committed
clang-format
1 parent 80fc426 commit a25ac0a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,10 @@ static bool isResourceRecordType(const Type *Ty) {
274274
return HLSLAttributedResourceType::findHandleTypeOnResource(Ty) != nullptr;
275275
}
276276

277-
// Returns true if the type is a leaf element type that is not valid to be included
278-
// in HLSL Buffer, such as a resource class, empty struct, zero-sized array,
279-
// or a builtin intangible type.
280-
// Returns false it is a valid leaf element type or if it is a record type that
281-
// needs to be inspected further.
277+
// Returns true if the type is a leaf element type that is not valid to be
278+
// included in HLSL Buffer, such as a resource class, empty struct, zero-sized
279+
// array, or a builtin intangible type. Returns false it is a valid leaf element
280+
// type or if it is a record type that needs to be inspected further.
282281
static bool isInvalidConstantBufferLeafElementType(const Type *Ty) {
283282
if (Ty->isRecordType()) {
284283
if (isResourceRecordType(Ty) || Ty->getAsCXXRecordDecl()->isEmpty())

0 commit comments

Comments
 (0)