Skip to content

Commit 363d463

Browse files
committed
clang-format
1 parent acd45af commit 363d463

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3919,11 +3919,13 @@ bool SemaHLSL::initGlobalResourceArrayDecl(VarDecl *VD) {
39193919

39203920
if (VkBinding || (RBA && RBA->hasRegisterSlot()))
39213921
// Resource has explicit binding.
3922-
CreateMethod = lookupMethod(SemaRef, ResourceDecl, "__createFromBinding", VD->getLocation());
3922+
CreateMethod = lookupMethod(SemaRef, ResourceDecl, "__createFromBinding",
3923+
VD->getLocation());
39233924
else
39243925
// Resource has implicit binding.
39253926
CreateMethod =
3926-
lookupMethod(SemaRef, ResourceDecl, "__createFromImplicitBinding", VD->getLocation());
3927+
lookupMethod(SemaRef, ResourceDecl, "__createFromImplicitBinding",
3928+
VD->getLocation());
39273929

39283930
if (!CreateMethod)
39293931
return false;

0 commit comments

Comments
 (0)