[Lldb-commits] [lldb] [lldb][NFC] Don't use C++20 designated initializer (PR #201075)

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 2 02:57:31 PDT 2026


================
@@ -276,59 +276,80 @@ TEST_P(SDKPathParsingMultiparamTests, TestSDKPathFromDebugInfo) {
 
 SDKPathParsingTestData sdkPathParsingTestCases[] = {
     /// Multiple CUs with a mix of internal and public SDKs
-    {.input_sdk_paths =
-         {"/Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk",
-          "/invalid/path/to/something.invalid.sdk",
-          "/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.0.Internal.sdk",
-          "/Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk"},
-     .expect_mismatch = true,
-     .expect_internal_sdk = true,
-     .expect_sdk_path_pattern = "Internal.sdk"},
+    {// input_sdk_paths:
+     {"/Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk",
----------------
Teemperor wrote:

Done, thanks!

https://github.com/llvm/llvm-project/pull/201075


More information about the lldb-commits mailing list