diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-04-14 17:09:37 -0700 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-04-25 15:02:34 -0700 |
commit | af1fea818391f20d585414493adb3fcdc70b4756 (patch) | |
tree | 4b1c4a36fc95f8b8182a12dc29fec7e2130deefa /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | ad03aeadfb72e9c872b297bbaedbf46ebac3572c (diff) | |
download | llvm-af1fea818391f20d585414493adb3fcdc70b4756.zip llvm-af1fea818391f20d585414493adb3fcdc70b4756.tar.gz llvm-af1fea818391f20d585414493adb3fcdc70b4756.tar.bz2 |
[lldb/API] Add convenience constructor for SBError (NFC)
This patch adds a new convience constructor to the SBError to initialize
it with a string message to avoid having to create the object and call
the `SetErrorString` method afterwards.
This is very handy to report errors from lldb scripted affordances.
Differential Revision: https://reviews.llvm.org/D148401
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions