Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi, i'm writting a clang compiler plugin for refactor code (
https://bugs.freedesktop.org/show_bug.cgi?id=81356)

It rewrite some .cxx files before stop due errors with the refactored code
and the code that is parsed.
Also, the plugin only refactor .cxx files but not the .hxx files.
I try using

    rewriter->overwriteChangedFiles()

for change the include files too, but it changes many included files at
once and later the compiler fails to parse the rest of .cxx files.

Someone can help me with this?
Any tip is welcome.

The current source code can be found in gitweb:
https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=47a4f0925af762895e4d632c7e903e6306640a10
, or gerrit: https://gerrit.libreoffice.org/11000

Thanks,
JMPC

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.