[cfe-dev] clang-apply-replacements not de-duplicating replacements

Stephen Kelly via cfe-dev cfe-dev at lists.llvm.org
Tue Mar 5 11:41:44 PST 2019


On 05/03/2019 01:43, Riyaz Puthiyapurayil via cfe-dev wrote:
> I have the following YAML file generated from clang-tidy (test-case at 
> the end of the email). Notice that there are two identical replacements 
> /u/riyaz/test.cc at offset:117. I am aware that clang-tidy does NOT 
> de-duplicate replacements. But I thought clang-apply-replacements was 
> supposed to do it. However, it adds the replacement text (override 
> keyword) @offset:117 twice.

This sounds like

  https://bugs.llvm.org/show_bug.cgi?id=38910

Thanks,

Stephen




More information about the cfe-dev mailing list