mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-27 07:45:35 +00:00
[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:
parent
b84648f030
commit
cd83f7265d
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user