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 3074060d6a1d7d2e74cb767876bd9e5192d12007 29b55fcba7a7f7b7ab0581f7804b9ad70863b0ff -- lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/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/libstdcpp/string/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp index b169a2e694..838781935f 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp @@ -1,12 +1,12 @@ #include <string> struct string_container { - std::string short_string; - std::string long_string; - std::string *short_string_ptr = &short_string; - std::string *long_string_ptr = &long_string; - std::string &short_string_ref = short_string; - std::string &long_string_ref = long_string; + std::string short_string; + std::string long_string; + std::string *short_string_ptr = &short_string; + std::string *long_string_ptr = &long_string; + std::string &short_string_ref = short_string; + std::string &long_string_ref = long_string; }; int main() @@ -22,7 +22,8 @@ int main() std::string *pq = &q, *pQ = &Q; string_container sc; sc.short_string = "u22"; - sc.long_string = "quite a long std::string with lots of info inside it inside a struct"; + sc.long_string = + "quite a long std::string with lots of info inside it inside a struct"; S.assign(L"!!!!!"); // Set break point at this line. return 0; `````````` </details> https://github.com/llvm/llvm-project/pull/89110 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits