[Lldb-commits] [PATCH] D29510: Remove LIBLLDB_LOG_VERBOSE category

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 3 15:24:44 PST 2017


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





More information about the lldb-commits mailing list