[cfe-dev] How to execute clang front-end AST visitor to exract some information from source code without compiling the source code first

Miklos Vajna via cfe-dev cfe-dev at lists.llvm.org
Tue Jul 12 12:06:46 PDT 2016


Hi,

On Tue, Jul 12, 2016 at 08:34:54AM -0700, David Blaikie via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> (probably the most generic thing someone could build to help here would be
> a scan-build like build-interposition tool to make a compilation database
> from any project/build system. Not the most efficient, but would be handy
> as a fallback)

This is exactly what <https://github.com/rizsotto/Bear> implements.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160712/e46e4bab/attachment.sig>


More information about the cfe-dev mailing list