[all-commits] [llvm/llvm-project] 6507e1: [NFC] Add { } to silence compiler warning [-Wmissi...

huihzhang via All-commits all-commits at lists.llvm.org
Mon Dec 9 17:21:41 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6507e13589687b40530dedc4dec670f2c1bfdc71
      https://github.com/llvm/llvm-project/commit/6507e13589687b40530dedc4dec670f2c1bfdc71
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp

  Log Message:
  -----------
  [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};
                                    ^~~~~~~~~~~~~~~~~~~~~
                                    {                    }




More information about the All-commits mailing list