[cfe-users] How to use clang-apply-replacements with clang-tidy fixit file

Robert Ankeney via cfe-users cfe-users at lists.llvm.org
Fri Apr 26 12:20:09 PDT 2019


I used clang-tidy to generate some replacements for a code base into a yaml
file using the -export-fixits=file option. After editing the file to remove
some unwanted changes, I would like to apply those fixes. The documentation
says to use clang-apply-replacements, but I don't see how do use it to do
that. It looks more like it's designed to work with clang-format.
Any suggestions?

Many thanks,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20190426/dc041e4e/attachment.html>


More information about the cfe-users mailing list