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

huihzhang via All-commits all-commits at lists.llvm.org
Fri Jun 12 08:57:38 PDT 2020


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

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp

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

llvm/lib/Target/AArch64/AArch64SLSHardening.cpp:146:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    "__llvm_slsblr_thunk_x0",  "__llvm_slsblr_thunk_x1",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {
llvm/lib/Target/AArch64/AArch64SLSHardening.cpp:168:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    AArch64::X0,  AArch64::X1,  AArch64::X2,  AArch64::X3,  AArch64::X4,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {




More information about the All-commits mailing list