[all-commits] [llvm/llvm-project] dddb9d: [lldb][test] Fix missing-braces warnings in unit t...

David Spickett via All-commits all-commits at lists.llvm.org
Thu Dec 21 05:36:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dddb9d1ee3e283133ce1abb50b7c7a3715317b9d
      https://github.com/llvm/llvm-project/commit/dddb9d1ee3e283133ce1abb50b7c7a3715317b9d
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M lldb/unittests/Utility/ChecksumTest.cpp
    M lldb/unittests/Utility/FileSpecTest.cpp

  Log Message:
  -----------
  [lldb][test] Fix missing-braces warnings in unit tests

```
/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/unittests/Utility/ChecksumTest.cpp:15:38: warning: suggest braces around initialization of subobject [-Wmissing-braces]
static llvm::MD5::MD5Result hash1 = {0, 1, 2,  3,  4,  5,  6,  7,
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                     {
```
And others.




More information about the All-commits mailing list