Looks good (but for the _Z case, make sure its length is at least 2) On Thu, Feb 8, 2018 at 12:33 PM Aaron Smith via Phabricator < revi...@reviews.llvm.org> wrote:
> asmith added a comment. > > How about this? > > if (name == nullptr) > return false; > > return ( (name[0] == '?') || (name[0] == '_' && name[1] == 'Z') ); > > > Repository: > rL LLVM > > https://reviews.llvm.org/D43059 > > > >
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits