Skip to content

How to set custom compile-commands.json for clang-tidy #85

@kaimast

Description

@kaimast

Hi,

How do I set custom compile-commands.json for clang-tidy? I need this to use validator properly with a meson build.

I tried to put "-p ./build" into .clang-tidy-config to set the meson build directory, but it didn't seem to work. Any ideas what I might be doing wrong?

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