clang library cycles

Why don't you try a Clang plugin?

A while back I wrote a clang plugin that incidentally does most of the
setup you need:

https://github.com/chisophugis/clang_plugin_example

Then just rebuild all of clang hooking the plugin in with CXXFLAGS (I
can be more specific if you need some more guidance).

--Sean Silva

Why don't you try a Clang plugin?

I'd still have to solve the same problems, so I don't see any advantage right now.

Btw, do these plugins fire during the linking stage as well?

A while back I wrote a clang plugin that incidentally does most of the
setup you need:

https://github.com/chisophugis/clang_plugin_example

Then just rebuild all of clang hooking the plugin in with CXXFLAGS (I
can be more specific if you need some more guidance).

I already do that. I can generate HTML pages for the entire llvm/clang tree right now. The only issue I still need to deal with concerns resolving links in the presents of cycles.

However, this is a general problem, not something specific to clang.

I'm trying to put my code up on github, but since I've never used it before, I'm not sure how long that might take. Unfortunately, clang-tools-extra isn't included in the llvm-mirror repo, so I guess I need to remote it myself. Advice welcome...

take care...
don