Skip to content

Commit eefb7f4

Browse files
committed
Apply clang-format
1 parent 2d7b780 commit eefb7f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/DirectX/DXILCBufferAccess.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,16 @@ struct CBufferResource {
169169
{Handle, ConstantInt::get(Builder.getInt32Ty(), ++CurrentRow)},
170170
nullptr, Name + ".load");
171171

172-
Extracts.push_back(Builder.CreateExtractValue(
173-
CBufLoad, {CurrentIndex++}, Name + ".extract"));
172+
Extracts.push_back(Builder.CreateExtractValue(CBufLoad, {CurrentIndex++},
173+
Name + ".extract"));
174174
}
175175

176176
// Finally, we build up the original loaded value.
177177
Result = PoisonValue::get(Ty);
178178
for (int I = 0, E = Extracts.size(); I < E; ++I)
179-
Result = Builder.CreateInsertElement(Result, Extracts[I],
180-
Builder.getInt32(I),
181-
Name + formatv(".upto{}", I));
179+
Result =
180+
Builder.CreateInsertElement(Result, Extracts[I], Builder.getInt32(I),
181+
Name + formatv(".upto{}", I));
182182
return Result;
183183
}
184184
};

0 commit comments

Comments
 (0)