Modify SBTypeNameSpecifier and lldb_private::TypeMatcher so they
have an enum value for the type of matching to perform instead of an
m_is_regex boolean value.
This change paves the way for introducing formatter matching based on
the result of a python callback in addition to the existing name-based
matching. See the RFC thread at
https://discourse.llvm.org/t/rfc-python-callback-for-data-formatters-type-matching/64204
for more details.
I am really intrigued by this entire patchset and just wanted to drop by to help, if I could. I hope that I am not upsetting you by commenting on something so trivial, but it seems like we would want to change the comment for this data member while we are at it?
Again, I think this work is great and I hope I am helping!