diff options
| author | Dave Lee <davelee.com@gmail.com> | 2023-05-24 10:30:49 -0700 |
|---|---|---|
| committer | Dave Lee <davelee.com@gmail.com> | 2023-05-30 15:38:42 -0700 |
| commit | 061a839033dc5f11c4e43fb64ed49cc85e1e5f32 (patch) | |
| tree | 4815703724808fde4d578b22876f8d1a8666a2c3 /lldb/test/API/python_api | |
| parent | 48a12ae8212c22d9d1d84270db659ac76ecfa972 (diff) | |
[lldb] Prevent dwim-print from showing kNoResult error
Expression evaluation for `void` valued expressions sets an error using the `kNoResult`
code. Like the `expression` command, `dwim-print` should also not print such errors.
Before:
```
(lldb) dwim-print (void)printf("hi\n")
hi
Error: 'unknown error'
```
After:
```
(lldb) dwim-print (void)printf("hi\n")
hi
```
rdar://109746544
Differential Revision: https://reviews.llvm.org/D151351
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
