Page MenuHomeFreeBSD

ctags: Recognize __attribute__ in function declarations.
ClosedPublic

Authored by des on May 25 2023, 2:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 18 2024, 8:29 AM
Unknown Object (File)
Jan 27 2024, 5:14 PM
Unknown Object (File)
Jan 3 2024, 1:43 PM
Unknown Object (File)
Dec 20 2023, 3:10 AM
Unknown Object (File)
Dec 12 2023, 8:44 AM
Unknown Object (File)
Dec 5 2023, 1:27 PM
Unknown Object (File)
Nov 29 2023, 6:34 AM
Unknown Object (File)
Nov 14 2023, 4:15 AM
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