[Geany-Devel] [FT-plugins] Proposed "Features"
Thomas Martitz
kugel at xxxxx
Wed Aug 31 14:43:48 UTC 2016
Am 31.08.2016 um 16:39 schrieb Matthew Brush:
>
> I can't speak to all compiler libraries, but at least libclang,
> libpython and libvala "compile" the source (well just the front-end of
> the compiler is needed). They literally use the built-in compiler
> front ends to understand the code. In the case of libclang, it
> additionally provides helpful methods for performing IDE-related
> features on the AST, while say with libvala, the ft-plugin would be
> required to perform it's own analysis of the AST to implement those
> feaures, which is still a lot less work than in Geany/TM since it has
> access to the full AST/context and the ft-plugin need not fear
> encoding language specific semantics into its logic.
How do you pass {C,CXX,CPP}FLAGS to libclang? And where do you get them
from?
Best regards
More information about the Devel
mailing list