[Lldb-commits] [lldb] r221540 - SBValue::Cast is deprecated. This does not work as reliably as free-form casting via the expression evaluator. Some of our clients depend on it, so we can't remove it. But any new adopters should favor the expression parser as the way forward
Enrico Granata
egranata at apple.com
Fri Nov 7 12:22:18 PST 2014
Author: enrico
Date: Fri Nov 7 14:22:18 2014
New Revision: 221540
URL: http://llvm.org/viewvc/llvm-project?rev=221540&view=rev
Log:
SBValue::Cast is deprecated. This does not work as reliably as free-form casting via the expression evaluator. Some of our clients depend on it, so we can't remove it. But any new adopters should favor the expression parser as the way forward
Modified:
lldb/trunk/include/lldb/API/SBValue.h
Modified: lldb/trunk/include/lldb/API/SBValue.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBValue.h?rev=221540&r1=221539&r2=221540&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBValue.h (original)
+++ lldb/trunk/include/lldb/API/SBValue.h Fri Nov 7 14:22:18 2014
@@ -158,6 +158,7 @@ public:
lldb::SBValue
CreateChildAtOffset (const char *name, uint32_t offset, lldb::SBType type);
+ // Deprecated - use the expression evaluator to perform type casting
lldb::SBValue
Cast (lldb::SBType type);
More information about the lldb-commits
mailing list