Page MenuHomePhabricator

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

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



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

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

Event Timeline

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