Skip to content

Commit 63af0c8

Browse files
committed
clang-format
1 parent c148ac9 commit 63af0c8

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

llvm/lib/Frontend/HLSL/HLSLRootSignatureUtils.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,11 @@ raw_ostream &operator<<(raw_ostream &OS, const DescriptorTable &Table) {
287287
}
288288

289289
raw_ostream &operator<<(raw_ostream &OS, const DescriptorTableClause &Clause) {
290-
OS << Clause.Type << "(" << Clause.Reg
291-
<< ", numDescriptors = ";
290+
OS << Clause.Type << "(" << Clause.Reg << ", numDescriptors = ";
292291
if (Clause.NumDescriptors == NumDescriptorsUnbounded)
293-
OS << "unbounded";
292+
OS << "unbounded";
294293
else
295-
OS << Clause.NumDescriptors;
294+
OS << Clause.NumDescriptors;
296295
OS << ", space = " << Clause.Space << ", offset = ";
297296
if (Clause.Offset == DescriptorTableOffsetAppend)
298297
OS << "DescriptorTableOffsetAppend";

llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ TEST(HLSLRootSignatureTest, DescriptorSRVClauseDump) {
4444
OS << Clause;
4545
OS.flush();
4646

47-
std::string Expected =
48-
"SRV(t0, numDescriptors = unbounded, space = 42, offset = 3, flags = None)";
47+
std::string Expected = "SRV(t0, numDescriptors = unbounded, space = 42, "
48+
"offset = 3, flags = None)";
4949
EXPECT_EQ(Out, Expected);
5050
}
5151

0 commit comments

Comments
 (0)