[PATCH v3] fixinc: don't "fix" machine names in __has_include(...) [PR91085]

Xi Ruoyao xry111@mengyan1223.wang
Wed Jun 30 02:56:30 GMT 2021


On Tue, 2021-06-29 at 08:53 -0700, Bruce Korb wrote:
> On 6/28/21 10:26 PM, Xi Ruoyao wrote:
> > v3:
> >    use memmem/memchr instead of trivial loops
> >    split most of the logic into a static function
> >    avoid hardcoded magic number
> >    adjust test
> Looks good to me. :)

Thanks for review!

Pushed, with PR number added in ChangeLog to please the hook :).
-- 
Xi Ruoyao <xry111@mengyan1223.wang>



More information about the Gcc-patches mailing list