[Lldb-commits] [lldb] [lldb][NFC] Don't use C++20 designated initializer (PR #201075)
A. Jiang via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 2 02:38:44 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",
----------------
frederick-vs-ja wrote:
Can we use `/* .input_sdk_paths = */` to indicate the future improvement/reversion?
https://github.com/llvm/llvm-project/pull/201075
More information about the lldb-commits
mailing list