Skip to content

Avoid using reserved identifiers by the C++ standard #2862

@daljit46

Description

@daljit46

There are many instances in our codebase (e.g. pretty much all include guards) where variables are declared beginning with a double underscore. As pointed out by clang-tidy(bugprone-reserved-identifier), this results in undefined behaviour since the C++ standard reserves all identifiers beginning with a double underscore.

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