[cfe-dev] Add additional #include header file as a result of a refactor

Alberto Lagos via cfe-dev cfe-dev at lists.llvm.org
Fri Oct 25 16:59:13 PDT 2019


Hi Keneth!,

Did you try clang::PPCallbacks or clang::PreprocessorFrontEndAction?

Probably PPCallbacks is what you are looking for.

Let me know if that help!

Regards.

On Fri, 25 Oct 2019 at 16:13 Kenth Eriksson via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hi!
>
> I'm refactoring some code with libtooling, replacing one API call with a
> new another one. This requires me to insert a new header file. How can this
> be done?
>
> Thanks,
> Kenth
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-- 
Enviado con Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20191025/de46c6be/attachment.html>


More information about the cfe-dev mailing list