Page MenuHomePhabricator

[libTooling] Add function to Transformer to create a no-op edit.
ClosedPublic

Authored by ymandel on Oct 22 2020, 7:07 AM.

Details

Summary

This functionality is commonly needed in clang tidy checks (based on
transformer) that only print warnings, without suggesting any edits. The no-op
edit allows the user to associate a diagnostic message with a source location.

Diff Detail

Event Timeline

ymandel created this revision.Oct 22 2020, 7:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2020, 7:07 AM
ymandel requested review of this revision.Oct 22 2020, 7:07 AM
tdl-g accepted this revision.Oct 22 2020, 2:13 PM
This revision is now accepted and ready to land.Oct 22 2020, 2:13 PM
This revision was landed with ongoing or failed builds.Oct 22 2020, 2:32 PM
This revision was automatically updated to reflect the committed changes.