If you run:
(lldb) type summary delete Foo
that will only search for the type summary for Foo in the "default" category. That's by design, since this is "delete" you wouldn't want to accidentally delete a format it might be hard to get back, so making you specify the category or say "all" explicitly is a good safeguard. But the help is not at all clear that that's how it works and it has confused several people now.
This patch fixes the help strings. Since all the type X delete commands go through a common base, I centralized the help output in the base class so the help would be consistent. I also removed an unused macro, and changed where we were calling these formatter_kind_mask to be formatter_kind since we only use them as a single enum element, we never use them as masks in this context.
maybe add an llvm_unreachable after the switch statement?