This is an archive of the discontinued LLVM Phabricator instance.

Assert on conflicting fixes for -fix option
AbandonedPublic

Authored by Ka-Ka on Dec 7 2018, 7:49 AM.

Details

Reviewers
None
Summary

Changed the assert and corresponding warning message for conflicting fixes
to only trigger if clang-tidy is run with -fix or -fix-errors.
The Fix and FixErrors variables are now passed as parameters when creating
respective objects.

This is not a finished patch. We need input if there are a more appropriate fix of this problem.

Patch by: Henric Karlsson and Björn Pettersson

Diff Detail

Event Timeline

Ka-Ka created this revision.Dec 7 2018, 7:49 AM
Ka-Ka abandoned this revision.Aug 25 2023, 3:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2023, 3:00 AM
Herald added a subscriber: steakhal. · View Herald Transcript