Skip to content

C++ namespace's unhandled, C/C++ X-macros break it a bit #37

@danylo-volchenko

Description

@danylo-volchenko

Displayed reference count:
Image

Real reference count:
Image

It takes reference count of namespace instead of a current function.

X-macro breaks it, but I believe it will be very hard to find a workaround:
Image

*If it helps with macros:
This technique takes each member of one macros and passes it to other macros)
It will look like this on other, simpler example:
Image
It will count diagnnostic on each "unrolled" member of such construction. Which is pretty expectable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions