Page MenuHomeFreeBSD

ctags: Recognize __attribute__ in function declarations.
ClosedPublic

Authored by des on May 25 2023, 2:28 PM.
Tags
None
Referenced Files
F122435560: D40264.diff
Sat, Jul 5, 8:12 AM
Unknown Object (File)
Thu, Jul 3, 6:20 PM
Unknown Object (File)
Thu, Jul 3, 4:43 AM
Unknown Object (File)
Fri, Jun 27, 6:21 PM
Unknown Object (File)
Thu, Jun 26, 10:46 AM
Unknown Object (File)
Thu, Jun 19, 2:36 PM
Unknown Object (File)
Jun 2 2025, 2:43 AM
Unknown Object (File)
May 30 2025, 4:03 PM
Subscribers

Details

Summary

MFC after: 1 week
Obtained from: NetBSD
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.May 25 2023, 2:28 PM
kevans added inline comments.
usr.bin/ctags/C.c
266

Why + 1? sizeof attribute should already account for the nul byte and the arithmetic below seems to acknowledge that

des marked an inline comment as done.May 25 2023, 4:31 PM
des added inline comments.
usr.bin/ctags/C.c
266

I know but that's how it is upstream. I'm probably going to refactor it soon anyway.

des marked an inline comment as done.May 25 2023, 4:31 PM
This revision is now accepted and ready to land.May 25 2023, 4:36 PM