evgeny777 added a comment. Without this change I have to use temporary const char* variable each time I call GetData() GetSummary(), GetValue() and so on It would be nice to be able to do something like this
CMIUtilString s = v.GetSummary(); if (!s.empty()) { CMIUtilString v = v.GetValue(); if (!v.empty()) { // and so on } } And whenever I need error check I can use temporary const char* or just "if (v.GetSummary() != NULL) http://reviews.llvm.org/D13094 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits