[NFC] Add { } to silence compiler warning [-Wmissing-braces].

../llvm/lib/Target/PowerPC/PPCISelLowering.cpp:5371:37: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  std::array<EVT, 2> ReturnTypes = {MVT::Other, MVT::Glue};
                                    ^~~~~~~~~~~~~~~~~~~~~
                                    {                    }
This commit is contained in:
Huihui Zhang 2019-12-09 17:19:34 -08:00
parent b84648f030
commit cd83f7265d

View File

@ -5368,7 +5368,7 @@ SDValue PPCTargetLowering::FinishCall(
return DAG.getNode(CallOpc, dl, MVT::Other, Ops);
}
std::array<EVT, 2> ReturnTypes = {MVT::Other, MVT::Glue};
std::array<EVT, 2> ReturnTypes = {{MVT::Other, MVT::Glue}};
Chain = DAG.getNode(CallOpc, dl, ReturnTypes, Ops);
Glue = Chain.getValue(1);