Skip to content

[clang-tidy] modernize-use-using suggested for extern "C" typedefs #141394

Open
@LegalizeAdulthood

Description

@LegalizeAdulthood

Repro: https://godbolt.org/z/6jdqMrjKs

The following code:

extern "C"
{
typedef int int_t;
}

should not issue any warnings with modernize-use-using because the typedef is inside an extern "C" block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions