[all-commits] [llvm/llvm-project] 8ce144: [clangd][test] Fix -Wmissing-field-initializers in...

Jie Fu via All-commits all-commits at lists.llvm.org
Wed Feb 14 18:18:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ce144800a7ed7c1e42343b3a9ac5e0ffdbfddbf
      https://github.com/llvm/llvm-project/commit/8ce144800a7ed7c1e42343b3a9ac5e0ffdbfddbf
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

  Log Message:
  -----------
  [clangd][test] Fix -Wmissing-field-initializers in DiagnosticsTests.cpp (NFC)

llvm-project/clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp:921:45:
error: missing field 'Annotations' initializer [-Werror,-Wmissing-field-initializers]
       TextEdit{Main.range("virtual1"), ""}}};
                                            ^
llvm-project/clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp:926:45:
error: missing field 'Annotations' initializer [-Werror,-Wmissing-field-initializers]
       TextEdit{Main.range("virtual2"), ""}}};
                                            ^
2 errors generated.




More information about the All-commits mailing list