Skip to content

build: accept "/Fo obj/x.obj" when reading compile_commands.json - #53587

Merged
MarshallOfSound merged 1 commit into
45-x-yfrom
backport/45-x-y/pr-53573
Sep 5, 2026
Merged

MarshallOfSound merged 1 commit into
45-x-yfrom
backport/45-x-y/pr-53573

Conversation

@claude

@claude claude Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Requested by Samuel Attard · Slack thread

Description of Change

Backport of #53573

See that PR for details.

Checklist

🤖 Generated with Claude Code

https://claude.ai/code/session_01KsGbFEEncB9pNtHMRTPj5Z

Release Notes

Notes: none


Generated by Claude Code

@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) September 5, 2026 15:21
@MarshallOfSound MarshallOfSound self-assigned this Sep 5, 2026
)

GN writes "/Fo{{output}}" to compile_commands.json with a space before the
substituted path; Chromium's Windows toolchain used that form until 155
switched to "/Fo$output". gen-clang-tidy-ninja.py only handled the
joined form, so with the spaced one every clang-cl entry parsed to an
empty object path, every step got the output ".tidy", and siso rejected
the file with "multiple rules generates .tidy" (seen on the 42/43/44
backports of #53447). Accept both, and fail with the source file name if
an entry has no object path at all.

(cherry picked from commit 2e9208d)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KsGbFEEncB9pNtHMRTPj5Z
@claude
claude Bot force-pushed the backport/45-x-y/pr-53573 branch from 902b0cc to cfe70a0 Compare September 5, 2026 17:49
@MarshallOfSound
MarshallOfSound merged commit 2f0c4d2 into 45-x-y Sep 5, 2026
25 of 29 checks passed
@release-clerk

release-clerk Bot commented Sep 5, 2026

Copy link
Copy Markdown

No Release Notes

@MarshallOfSound
MarshallOfSound deleted the backport/45-x-y/pr-53573 branch September 5, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants