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")
hirdar://109746544
nit: C++ marker is only needed in a .h file ;-)