Re: Source code cross reference tool based on libclang
Alek Paunov <[email protected]> Mon, 14 Feb 2011 23:00:45 +0200
| Newsgroups | gmane.comp.compilers.clang.devel,gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
> If you want to discuss any related topic, please join me on In the long term, I really believe that we can achieve great results once we manage to store the Clang's internal representations to a powerful DB engine with appropriate query language (as I mentioned before, XQuery seems the best candidate for me [*]). But until then, let's utilize the current Synopsis/SXR: Have you tried to apply your fresh Clang based version on the LLVM trunk itself?. If you give me some instructions, I also can start public Synopsis/SXR service for the Clang/LLVM codebase, as a test bench. Kind Regards, Alek [*] Because of its natural namespaced tree with attributes model and existing well optimized open source implementations. Over time, various query components (functions in XQuery) on top of the LLVM representations can be accumulated as reusable XQuery modules. P.S. It is a specific query language, but only as illustration of the approach: http://semmle.com/semmlecode/products/semmlecode-professional/example-queries/ (unfortunately it is closed source, implemented as compiler to SQL)