Skip to content

Fix cl path for --solution option in out of process mode#5

Merged
itodirel merged 2 commits into
microsoft:mainfrom
rramadanahmed:fix/cl-path-solution
Jun 30, 2026
Merged

Fix cl path for --solution option in out of process mode#5
itodirel merged 2 commits into
microsoft:mainfrom
rramadanahmed:fix/cl-path-solution

Conversation

@rramadanahmed

Copy link
Copy Markdown

--cl-path is not honoured when used in out of process mode
this pr passes cl to OutOfProcessExtractor when ExtractCompileCommandsFromSolution is called

ramadanahmed added 2 commits June 28, 2026 16:22
ExtractCompileCommandsFromSolution did not plumb clPath into the per-project OutOfProcessExtractor, so --cl-path was silently ignored for --solution input (only --project honored it). Thread clPath through ExtractCompileCommandsFromSolution, WriteCompileCommandsJsonFromSolution, and the two Program.cs solution call sites.
@rramadanahmed

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Microsoft"

@itodirel
itodirel merged commit 9a5c09b into microsoft:main Jun 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants