[Lldb-commits] [lldb] Convert ValueObject::Dump() to return llvm::Error() (NFCish) (PR #95857)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 18 13:08:12 PDT 2024
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 6c17f1cabdee3399feceb478921a8369bde18b16 ff10ee2e39740e6b8491a9f5bdcb2f4af657fa65 --extensions 'c,cpp,h' -- lldb/include/lldb/Core/ValueObject.h lldb/include/lldb/DataFormatters/ValueObjectPrinter.h lldb/include/lldb/Target/LanguageRuntime.h lldb/source/API/SBValue.cpp lldb/source/Breakpoint/Watchpoint.cpp lldb/source/Commands/CommandObjectDWIMPrint.cpp lldb/source/Commands/CommandObjectExpression.cpp lldb/source/Commands/CommandObjectFrame.cpp lldb/source/Commands/CommandObjectMemory.cpp lldb/source/Commands/CommandObjectTarget.cpp lldb/source/Commands/CommandObjectThread.cpp lldb/source/Core/DumpRegisterValue.cpp lldb/source/Core/FormatEntity.cpp lldb/source/Core/ValueObject.cpp lldb/source/DataFormatters/ValueObjectPrinter.cpp lldb/source/Interpreter/CommandInterpreter.cpp lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.h lldb/source/Plugins/REPL/Clang/ClangREPL.cpp lldb/test/API/commands/dwim-print/main.c lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp
index 5e1face756..58b838752b 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp
@@ -110,8 +110,9 @@ llvm::Error GNUstepObjCRuntime::GetObjectDescription(Stream &str,
"LLDB's GNUStep runtime does not support object description");
}
-llvm::Error GNUstepObjCRuntime::GetObjectDescription(
- Stream &strm, Value &value, ExecutionContextScope *exe_scope) {
+llvm::Error
+GNUstepObjCRuntime::GetObjectDescription(Stream &strm, Value &value,
+ ExecutionContextScope *exe_scope) {
return llvm::createStringError(
"LLDB's GNUStep runtime does not support object description");
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/95857
More information about the lldb-commits
mailing list