[Lldb-commits] [PATCH] D58792: Add "operator bool" to SB APIs

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 1 14:38:51 PST 2019


clayborg added a comment.

If this is new API I guess it is ok to have them all be const. I was mostly worried that you wouldn't be able to call a non const function from a const function. Do we have any IsValid() calls that are const? I believe we do. If so, how are we calling IsValid() if it is const from a non const conversion operator?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58792/new/

https://reviews.llvm.org/D58792





More information about the lldb-commits mailing list