Skip to content

Exclude files not in compile_commands.json #143

@stsoe

Description

@stsoe

I am using clang-tidy-review in a project where some files in a pull request may be conditionally compiled based on the platform used for building.

The CMake generated compile_commands.json accurately reflects what files are built, if a file is not in compile_commands.json is there a way to have it excluded by create_review()? Warnings generated for any of these missing files can be very misleading and cause a lot of confusion.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions