Skip to content

C headers treated as C++ #15

Open
Open
@collinjackson93

Description

@collinjackson93

I work in a code base where there is a mixture of C and C++. I noticed that C headers (files that are guarded by extern "C") are being treated like C++ files, which causes tooling like Clang Tidy to apply C++ specific checks to these files. I believe the issue could happen specifically when C headers are included in C++ files.

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