Skip to content

Commit 7885eed

Browse files
author
joaosaffran
committed
addressing nits
1 parent bb6c0cf commit 7885eed

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/ObjectYAML/DXContainerYAML.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,14 @@ DXContainerYAML::RootSignatureYamlDesc::create(
6565

6666
llvm::Expected<object::DirectX::RootParameterView> ParamViewOrErr =
6767
Data.getParameter(PH);
68-
if (Error E = ParamViewOrErr.takeError()) {
68+
if (Error E = ParamViewOrErr.takeError())
6969
return std::move(E);
70-
}
7170
object::DirectX::RootParameterView ParamView = ParamViewOrErr.get();
7271

7372
if (auto *RCV = dyn_cast<object::DirectX::RootConstantView>(&ParamView)) {
7473
llvm::Expected<dxbc::RootConstants> ConstantsOrErr = RCV->read();
75-
if (Error E = ConstantsOrErr.takeError()) {
74+
if (Error E = ConstantsOrErr.takeError())
7675
return std::move(E);
77-
}
7876

7977
auto Constants = *ConstantsOrErr;
8078

0 commit comments

Comments
 (0)