github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. 
:warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp -- 
lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp 
--diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp 
b/lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
index 7e428d5a8..92671b225 100644
--- a/lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
+++ b/lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
@@ -276,49 +276,56 @@ DWARF:
 
 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"},
+    {/* 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"},
 
     /// Single CU with a public SDK
-    {/* input_sdk_paths = */ 
{"/Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk"},
+    {/* input_sdk_paths = */ {
+         "/Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk"},
      /* expect_mismatch = */ false,
      /* expect_internal_sdk = */ false,
      /* expect_sdk_path_pattern = */ "MacOSX10.9.sdk"},
 
     /// Single CU with an internal SDK
-    {/* input_sdk_paths = */ 
{"/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.0.Internal.sdk"},
+    {/* input_sdk_paths = */ {
+         "/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.0.Internal.sdk"},
      /* expect_mismatch = */ false,
      /* expect_internal_sdk = */ true,
      /* expect_sdk_path_pattern = */ "Internal.sdk"},
 
     /// Two CUs with an internal SDK each
-    {/* input_sdk_paths = */ 
{"/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.0.Internal.sdk",
-      "/Library/Developer/CommandLineTools/SDKs/iPhoneOS12.9.Internal.sdk"},
+    {/* input_sdk_paths = */ {
+         "/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.0.Internal.sdk",
+         "/Library/Developer/CommandLineTools/SDKs/iPhoneOS12.9.Internal.sdk"},
      /* expect_mismatch = */ false,
      /* expect_internal_sdk = */ true,
      /* expect_sdk_path_pattern = */ "Internal.sdk"},
 
     /// Two CUs with a public (non-CommandLineTools) SDK each
-    {/* input_sdk_paths = */ {"/Path/To/SDKs/iPhoneOS14.1.sdk", 
"/Path/To/SDKs/MacOSX11.3.sdk"},
+    {/* input_sdk_paths = */ {"/Path/To/SDKs/iPhoneOS14.1.sdk",
+                              "/Path/To/SDKs/MacOSX11.3.sdk"},
      /* expect_mismatch = */ false,
      /* expect_internal_sdk = */ false,
      /* expect_sdk_path_pattern = */ "iPhoneOS14.1.sdk"},
 
     /// One CU with CommandLineTools and the other a public SDK
-    {/* input_sdk_paths = */ 
{"/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.1.sdk",
-      "/Path/To/SDKs/MacOSX11.3.sdk"},
+    {/* input_sdk_paths = */ {
+         "/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.1.sdk",
+         "/Path/To/SDKs/MacOSX11.3.sdk"},
      /* expect_mismatch = */ false,
      /* expect_internal_sdk = */ false,
      /* expect_sdk_path_pattern = */ "iPhoneOS14.1.sdk"},
 
     /// One CU with CommandLineTools and the other an internal SDK
-    {/* input_sdk_paths = */ 
{"/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.1.sdk",
-      "/Path/To/SDKs/MacOSX11.3.Internal.sdk"},
+    {/* input_sdk_paths = */ {
+         "/Library/Developer/CommandLineTools/SDKs/iPhoneOS14.1.sdk",
+         "/Path/To/SDKs/MacOSX11.3.Internal.sdk"},
      /* expect_mismatch = */ true,
      /* expect_internal_sdk = */ true,
      /* expect_sdk_path_pattern = */ "iPhoneOS14.1.Internal.sdk"},

``````````

</details>


https://github.com/llvm/llvm-project/pull/201075
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to