[all-commits] [llvm/llvm-project] 9d8d06: [NFC] Silence compiler warning [-Wmissing-braces].

huihzhang via All-commits all-commits at lists.llvm.org
Wed Jun 17 13:02:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d8d0646d751326e2766caeaa20f6e0d4b89a4f6
      https://github.com/llvm/llvm-project/commit/9d8d0646d751326e2766caeaa20f6e0d4b89a4f6
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M clang/lib/CodeGen/CGNonTrivialStruct.cpp

  Log Message:
  -----------
  [NFC] Silence compiler warning [-Wmissing-braces].

clang/lib/CodeGen/CGNonTrivialStruct.cpp:330:7: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  Address(CGF->Builder.CreateLoad(CGF->GetAddrOfLocalVar(Args[Ints])),
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  {




More information about the All-commits mailing list