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 c2750807ba2a419425ee90dadda09ad5121517fe
cf7ea7aa4d458ad82c39afb2b0879ec32a88a2db --extensions h,cpp --
lldb/include/lldb/API/SBCommandReturnObject.h
lldb/include/lldb/API/SBStructuredData.h
lldb/include/lldb/Interpreter/CommandReturnObject.h
lldb/source/API/SBCommandReturnObject.cpp
lldb/source/Commands/CommandObjectExpression.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Interpreter/CommandReturnObject.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/include/lldb/API/SBCommandReturnObject.h
b/lldb/include/lldb/API/SBCommandReturnObject.h
index f0a4738cc3..e8e20a3f30 100644
--- a/lldb/include/lldb/API/SBCommandReturnObject.h
+++ b/lldb/include/lldb/API/SBCommandReturnObject.h
@@ -52,7 +52,7 @@ public:
"PutOutput(SBFile)")
size_t PutOutput(FILE *fh);
#endif
-\
+
size_t PutOutput(SBFile file);
size_t PutOutput(FileSP BORROWED);
diff --git a/lldb/source/Interpreter/CommandReturnObject.cpp
b/lldb/source/Interpreter/CommandReturnObject.cpp
index 8cd798f62f..6855c6fcb6 100644
--- a/lldb/source/Interpreter/CommandReturnObject.cpp
+++ b/lldb/source/Interpreter/CommandReturnObject.cpp
@@ -123,8 +123,7 @@ void CommandReturnObject::SetError(llvm::Error error) {
}
}
-std::string
-CommandReturnObject::GetInlineDiagnosticString(unsigned indent) {
+std::string CommandReturnObject::GetInlineDiagnosticString(unsigned indent) {
StreamString diag_stream(m_colors);
RenderDiagnosticDetails(diag_stream, indent, true, m_diagnostics);
// Duplex the diagnostics to the secondary stream (but not inlined).
``````````
</details>
https://github.com/llvm/llvm-project/pull/112109
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits