Skip to content

compdb: Exclude validation-only edges from compile_commands.json#2739

Open
jhasse wants to merge 2 commits intoninja-build:masterfrom
jhasse:exclude-validation-edges-from-compdb
Open

compdb: Exclude validation-only edges from compile_commands.json#2739
jhasse wants to merge 2 commits intoninja-build:masterfrom
jhasse:exclude-validation-edges-from-compdb

Conversation

@jhasse
Copy link
Copy Markdown
Collaborator

@jhasse jhasse commented Mar 4, 2026

They aren't use to "compile" anything and can trip up IDEs, because the IDE (i.e. clangd) might use their command arguments if there are multiple entries for a file - and then doesn't understand the arguments (clang-tidy takes different arguments than clang for example).

Any objections and someone things they should be included?

@jhasse jhasse added this to the 1.14.0 milestone Mar 4, 2026
@jhasse jhasse added the bug label Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant