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