Page MenuHomePhabricator

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

Authored by epriestley on Mar 1 2019, 2:58 PM.
Tags
None
Referenced Files
F19082943: D20237.id48325.diff
Dec 2 2025, 12:28 PM
F19070306: D20237.id.diff
Nov 30 2025, 4:07 PM
F19058547: D20237.diff
Nov 29 2025, 2:25 AM
F18985064: D20237.id48304.diff
Nov 17 2025, 12:52 PM
F18845954: D20237.id.diff
Oct 29 2025, 3:27 PM
F18840605: D20237.diff
Oct 28 2025, 2:37 AM
F18788225: D20237.id48325.diff
Oct 15 2025, 3:37 AM
F18784696: D20237.id48325.diff
Oct 13 2025, 2:43 PM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable