[cfe-dev] How to rewrite a header file?

Marcel Schaible via cfe-dev cfe-dev at lists.llvm.org
Wed Sep 6 11:01:30 PDT 2017


Hi everyone,

my tool changes the signatures of some annotated C functions in .c files.

Now I am facing the problem that I have to propaged this changes into
the corresponding

header file.

How can I do this? Can I use something like ASTConsumer/RecursiveAstVisitor?

Any hint and/or idea is welcome. Is there some example code available?


Thanks

Marcel




More information about the cfe-dev mailing list