[Lldb-commits] [PATCH] D88975: [LLDB] On Windows, fix tests

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 8 05:10:17 PDT 2020


labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.

This looks fine. Thanks.



================
Comment at: lldb/unittests/Utility/StatusTest.cpp:76
+  ULONG langs = 0;
+  ULONG nameLen = sizeof(name) / sizeof(WCHAR);
+  GetUserPreferredUILanguages(MUI_LANGUAGE_NAME, &langs, (PZZWSTR)&name,
----------------
llvm::array_lengthof(name);


================
Comment at: lldb/unittests/Utility/StatusTest.cpp:77
+  ULONG nameLen = sizeof(name) / sizeof(WCHAR);
+  GetUserPreferredUILanguages(MUI_LANGUAGE_NAME, &langs, (PZZWSTR)&name,
+                              &nameLen);
----------------
reinterpret_cast?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88975/new/

https://reviews.llvm.org/D88975



More information about the lldb-commits mailing list