Skip to content

feature: Support C2y _Countof keyword/operator #295

@zhaob1n

Description

@zhaob1n

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

_Countof is introduced in C2y. Both GCC and Clang has already supports it.

https://gcc.gnu.org/onlinedocs/gcc/_005fCountof.html
https://clang.llvm.org/c_status.html

Describe the solution you'd like

support _Countof

Describe alternatives you've considered

none

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions