[cfe-users] [run-clang-tidy] new replacement overlaps with an existing replacement

Jonas Toth via cfe-users cfe-users at lists.llvm.org
Thu Dec 13 03:02:04 PST 2018


Great to hear!

Am 12.12.18 um 00:11 schrieb Mateusz Loskot via cfe-users:
>> I suspect that is the case indeed.
>>
>> I have created new test in GIL which generates single .cpp file
>> that includes all headers (https://github.com/boostorg/gil/pull/184):
>> I generated compile_commands.json and manually removed all commands
>> but the one with .cpp including all headers.
>> Finally, I run clang-tidy against it, I get no warning about overlapping
>> replacements and all typedef-s are replaced with correct using declaration.
>>
>> I think think that is the optimal workflow for the header-only Boost.GIL libary.
>>
>> Thanks for help!
>>
>> Best regards,



More information about the cfe-users mailing list