[cfe-dev] Clang to flowchart
Douglas Gregor
dgregor at apple.com
Fri Nov 12 07:08:54 PST 2010
On Nov 11, 2010, at 8:37 PM, Brendan Simon wrote:
> Hi,
>
> I want to produce some flowcharts and workflows from a complex
> multit-hreaded C++ codebase.
>
> I was thinking that gcc-xml might be useful so I asked on the mailing
> list, and they suggested that Clang might be a useful option.
>
> Are there any tools based on Clang that can produce flowcharts/workflows
> so I can get a better picture of how the complex multit-hreaded C++
> operates ??
Internally, Clang has the facilities to build a control-flow graph. You could build on top of that.
> Is there suitable output from Clang about all the function calls, etc
> (e.g. in xml format) that can be used to generate UML or flowcharts or
> other documents ??
Clang has an XML format, but it's not rich enough to be useful for this purpose.
- Doug
More information about the cfe-dev
mailing list