Skip to content

Commit 23a11bd

Browse files
committed
fixup: clang-format
1 parent b134c4a commit 23a11bd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,9 +1933,8 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
19331933
SemaRef.getASTContext().UnsignedIntTy))
19341934
return true;
19351935

1936-
auto *ResourceTy = TheCall->getArg(0)
1937-
->getType()
1938-
->castAs<HLSLAttributedResourceType>();
1936+
auto *ResourceTy =
1937+
TheCall->getArg(0)->getType()->castAs<HLSLAttributedResourceType>();
19391938
QualType ContainedTy = ResourceTy->getContainedType();
19401939
// TODO: Map to an hlsl_device address space.
19411940
TheCall->setType(getASTContext().getPointerType(ContainedTy));

0 commit comments

Comments
 (0)