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

huihzhang via All-commits all-commits at lists.llvm.org
Sun Apr 12 14:44:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e2daa0c7f27b5d13b11bff68ae3cd42329abd6c
      https://github.com/llvm/llvm-project/commit/8e2daa0c7f27b5d13b11bff68ae3cd42329abd6c
  Author: Huihui Zhang <huihuiz at quicinc.com>
  Date:   2020-04-12 (Sun, 12 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Support/FormatVariadic.h

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

llvm/include/llvm/Support/FormatVariadic.h:146:15: warning: suggest braces around initialization of subobject [-Wmissing-braces]
      return {&Items...};
              ^~~~~~
              {     }




More information about the All-commits mailing list