Page MenuHomeFreeBSD

Search for objective c method definitions
ClosedPublic

Authored by thj on Feb 8 2022, 1:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 13, 2:32 AM
Unknown Object (File)
Sun, Sep 8, 2:11 AM
Unknown Object (File)
Sat, Sep 7, 7:09 PM
Unknown Object (File)
Sat, Sep 7, 7:16 AM
Unknown Object (File)
Aug 10 2024, 6:10 PM
Unknown Object (File)
Jul 11 2024, 1:23 AM
Unknown Object (File)
Jun 16 2024, 3:52 AM
Unknown Object (File)
May 20 2024, 5:50 PM

Details

Summary

When searching back for function definitions, consider lines starting
with '+' and '-', this allows us to pick up objective methods as well as
c style function definitions.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44390
Build 41278: arc lint + arc unit

Event Timeline

thj requested review of this revision.Feb 8 2022, 1:51 PM

don't forget to add a unit test

This revision is now accepted and ready to land.Feb 8 2022, 2:36 PM
  • Add tests for finding function names
This revision now requires review to proceed.Feb 10 2022, 3:17 PM

Other than that wording tweak, spelling and grammar in manual page change LGTM.

usr.bin/diff/diff.1
400
This revision is now accepted and ready to land.Feb 11 2022, 7:16 PM
jilles added inline comments.
usr.bin/diff/tests/functionname_objcm.in
21

Fortunately, this code is never run :) The pointer subtraction is immediate undefined behaviour.

This revision was automatically updated to reflect the committed changes.