Before this patch, LLDB was not able to evaluate expressions that
resulted in a value with a typeof-type.
(lldb) p int i; __typeof__(i) j = 1; j (typeof (i)) $0 =
This fixes that. The type is still printed as (typeof (i)) but at least
we get a value now.
(lldb) p int i; __typeof__(i) j = 1; j (typeof (i)) $0 = 1
I'm looking into printing this as int but will keep that for a follow-up commit either way.