Skip to content

No definitions found when declared in "wrapped declarations" #379

Open
@ksen-lin

Description

@ksen-lin

Hi!
I found that elixir reports "no definitions" for some struct members, though it shows those places as references.

As i see it happens when fields are declared using a macro, e.g. in struct sk_buff https://elixir.bootlin.com/linux/v6.12.6/source/include/linux/skbuff.h#L950:

Image

Looks somewhat similar to recognizing sys_* functions declared with SYSCALL_DEFINE* (thanks for that btw!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    indexingRelated to the index content — missing definitions/references, lexer bugs, new ctags features...

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions