Page MenuHomeFreeBSD

ctags: Recognize __attribute__ in function declarations.
ClosedPublic

Authored by des on May 25 2023, 2:28 PM.
Tags
None
Referenced Files
F141983952: D40264.id.diff
Wed, Jan 14, 12:26 PM
F141983938: D40264.id.diff
Wed, Jan 14, 12:26 PM
Unknown Object (File)
Wed, Dec 31, 7:51 PM
Unknown Object (File)
Mon, Dec 29, 3:54 AM
Unknown Object (File)
Nov 23 2025, 1:36 PM
Unknown Object (File)
Nov 11 2025, 4:01 AM
Unknown Object (File)
Nov 1 2025, 7:49 AM
Unknown Object (File)
Oct 31 2025, 12:00 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