zturner added a comment.

In https://reviews.llvm.org/D29510#666443, @jingham wrote:

> This is sort of a side question, but Pavel's comment brought it up.  If I 
> were new to this stuff, and wanted to know which entities had formatters and 
> which didn't, how would I find that out easily?  There are a couple of Format 
> calls that use it, maybe they should have some doc that references where the 
> built-in formatters are?


A couple ideas come to mind.

1. Try it and see if it compiles.  This won't tell you if a formatter exists 
and you didn't include the right header for it, though.  Although if the 
formatter is always defined in the same header file that the object itself is 
defined in, this wouldn't be a problem.
2. Grep the codebase for `format_provider` and `FormatAdapter`


https://reviews.llvm.org/D29510



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to