dynamically parse c++-code-snippets from a plugin and skipping included files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am writing a plugin for the latest gcc (12.1).
The plugin needs to dynamically parse c++-code-snippets to tree objects so they can be inserted at a later stage during compilation.

Is there a way to call into the existing parser to generate a tree from a const char*, source_range or anything similar?
Secondly can I make gcc ignore a file after the PLUGIN_INCLUDE_FILE-event of that file is called?

Thanks,
Julian Lohuis

On Thursday, June 09, 2022 19:58 CEST, "Julian Lohuis" <jlohuis@xxxxxxxxxxxxxxxxx> wrote:

>





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux