Skip to content

Commit cc14464

Browse files
committed
clang format
1 parent 4c95fa8 commit cc14464

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,10 +1142,10 @@ bool SemaHLSL::handleRootSignatureDecl(HLSLRootSignatureDecl *D,
11421142
RangeInfo Info;
11431143
Info.LowerBound = Clause->Reg.Number;
11441144
assert(0 < Clause->NumDescriptors && "Verified as part of TODO(#129940)");
1145-
Info.UpperBound =
1146-
Clause->NumDescriptors == RangeInfo::Unbounded
1147-
? RangeInfo::Unbounded
1148-
: Info.LowerBound + Clause->NumDescriptors - 1; // use inclusive ranges []
1145+
Info.UpperBound = Clause->NumDescriptors == RangeInfo::Unbounded
1146+
? RangeInfo::Unbounded
1147+
: Info.LowerBound + Clause->NumDescriptors -
1148+
1; // use inclusive ranges []
11491149

11501150
Info.Class = Clause->Type;
11511151
Info.Space = Clause->Space;
@@ -1158,7 +1158,8 @@ bool SemaHLSL::handleRootSignatureDecl(HLSLRootSignatureDecl *D,
11581158
assert(Table->NumClauses <= Infos.size() && "RootElement");
11591159
// The last Table->NumClauses elements of Infos are the owned Clauses
11601160
// generated RangeInfo
1161-
auto TableInfos = MutableArrayRef<RangeInfo>(Infos).take_back(Table->NumClauses);
1161+
auto TableInfos =
1162+
MutableArrayRef<RangeInfo>(Infos).take_back(Table->NumClauses);
11621163
for (RangeInfo &Info : TableInfos)
11631164
Info.Visibility = Table->Visibility;
11641165
}

0 commit comments

Comments
 (0)