Page MenuHomePhabricator

Recognize the official "Go" magic regexp for generated code as generated
ClosedPublic

Authored by epriestley on Mar 1 2019, 2:58 PM.

Details

Summary

See PHI1112. See T784. Although some more general/flexible solution is arriving eventually, adding this rule seems reasonable for now, since it's not a big deal if we remove it later to replace this with some fancier system.

Test Plan

Created a diff with the official Go generated marker, saw the changeset marked as generated.

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Mar 1 2019, 2:58 PM
epriestley requested review of this revision.Mar 1 2019, 3:00 PM
amckinley accepted this revision.Mar 5 2019, 6:16 PM
This revision is now accepted and ready to land.Mar 5 2019, 6:16 PM
This revision was automatically updated to reflect the committed changes.