We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6c0cf commit 7885eedCopy full SHA for 7885eed
llvm/lib/ObjectYAML/DXContainerYAML.cpp
@@ -65,16 +65,14 @@ DXContainerYAML::RootSignatureYamlDesc::create(
65
66
llvm::Expected<object::DirectX::RootParameterView> ParamViewOrErr =
67
Data.getParameter(PH);
68
- if (Error E = ParamViewOrErr.takeError()) {
+ if (Error E = ParamViewOrErr.takeError())
69
return std::move(E);
70
- }
71
object::DirectX::RootParameterView ParamView = ParamViewOrErr.get();
72
73
if (auto *RCV = dyn_cast<object::DirectX::RootConstantView>(&ParamView)) {
74
llvm::Expected<dxbc::RootConstants> ConstantsOrErr = RCV->read();
75
- if (Error E = ConstantsOrErr.takeError()) {
+ if (Error E = ConstantsOrErr.takeError())
76
77
78
79
auto Constants = *ConstantsOrErr;
80
0 commit comments