Skip to content

CLion parser / static analyzer misidentifies the device_t friend of primary_context_t #763

@eyalroz

Description

@eyalroz

For some reason, a recent version of CLion (2025.2.3) is failing to identify that the friend class device_t; statement in the definition of cuda::device::primary_context_t refers to cuda::device_t. Weird, huh?

Well, for now, let's make that friendship easier to recognize using a fully-qualified class name.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions