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 19f604edfc015b35999b3b95e94f18389e4b392d 
fd093d23400fc48b013cafceafc009fcb5f2142c --extensions cpp -- 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/main.cpp
``````````

</details>

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

``````````diff
diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/main.cpp
 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/main.cpp
index 84d21b5dd5..74ec6f04ce 100644
--- 
a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/main.cpp
+++ 
b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/main.cpp
@@ -45,14 +45,12 @@ template <class _CharT, size_t = sizeof(_CharT)> struct 
__padding {
 };
 
 template <class _CharT> struct __padding<_CharT, 1> {};
-#else // !SUBCLASS_PADDING
-template <size_t _PaddingSize>
-struct __padding {
+#else  // !SUBCLASS_PADDING
+template <size_t _PaddingSize> struct __padding {
   char __padding_[_PaddingSize];
 };
 
-template <>
-struct __padding<0> {};
+template <> struct __padding<0> {};
 #endif // SUBCLASS_PADDING
 #endif // ALTERNATE_LAYOUT
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/108169
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to