Skip to content

Commit e8b3032

Browse files
committed
format
1 parent bebfc20 commit e8b3032

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,13 @@ Decl *SemaHLSL::ActOnStartBuffer(Scope *BufferScope, bool CBuffer,
173173
}
174174

175175
static unsigned calculateLegacyCbufferFieldAlign(const ASTContext &Context,
176-
QualType T) {
176+
QualType T) {
177177
// Aggregate types are always aligned to new buffer rows
178178
if (T->isAggregateType())
179179
return 16;
180180

181-
assert(Context.getTypeSize(T) <= 64 && "Scalar bit widths larger than 64 not supported");
181+
assert(Context.getTypeSize(T) <= 64 &&
182+
"Scalar bit widths larger than 64 not supported");
182183

183184
// 64 bit types such as double and uint64_t align to 8 bytes
184185
if (Context.getTypeSize(T) == 64)

0 commit comments

Comments
 (0)