Page MenuHomePhabricator

Assert on conflicting fixes for -fix option
Needs ReviewPublic

Authored by Ka-Ka on Dec 7 2018, 7:49 AM.
This revision needs review, but there are no reviewers specified.

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