Skip to content

Adding an option to pass --extra-arg to clang-tidy #7

@hillmich

Description

@hillmich

For a header-only library I'm maintaining the clang-tidy checks fail with warnings about c++17 features being used. This is most likely cause by clang-tidy assuming C++14 for the header files (since it's the default). Running clang-tidy manually with --extra-arg="-std=c++17" fixes (most) problems. You can the library at cda-tum/dd_package#104

Could you add a parameter to cpp-linter to pass along extra arguments to clang-tidy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions