Hello,

SBValue::Cast marked as deprecated in LLDB headers:

// Deprecated - use the expression evaluator to perform type casting
lldb::SBValue Cast(lldb::SBType type);

But I can't understand how to replace it with expression evaluation.

Suppose I have:

auto casted_val = my_value.Cast(my_type);

What would be equivalent expression, taking into account that both value
and type can be out of current scope?


Same question on stackoverflow:

http://stackoverflow.com/questions/41928915/lldb-api-why-sbvaluecast-is-deprecated-and-how-to-replace-it-with-createvalue


Thanks in advance for help,

-Roman
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to