Skip to content

Remove PAL oleauto.h shim and stale CoreCLR includes - #129874

Merged
AaronRobinsonMSFT merged 1 commit into
mainfrom
copilot/delete-dead-code-oleauto
Jun 26, 2026
Merged

Remove PAL oleauto.h shim and stale CoreCLR includes#129874
AaronRobinsonMSFT merged 1 commit into
mainfrom
copilot/delete-dead-code-oleauto

Conversation

CopilotAI commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

src/coreclr/pal/inc/rt/oleauto.h was a PAL-era shim that is no longer needed for current CoreCLR builds.

Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
CopilotAI review requested due to automatic review settings June 26, 2026 00:38
CopilotAI removed the request for review from CopilotJune 26, 2026 00:38
@jkotas
jkotas marked this pull request as ready for review June 26, 2026 00:39
CopilotAI review requested due to automatic review settings June 26, 2026 00:39
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke
See info in area-owners.md if you want to be subscribed.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the legacy PAL oleauto.h shim header and cleans up a few now-stale CoreCLR include directives that referenced it, reducing unnecessary header dependencies.

Changes:

  • Removed #include <oleauto.h> from CoreCLR headers that no longer require it.
  • Deleted src/coreclr/pal/inc/rt/oleauto.h (PAL-era shim) now that it has no remaining consumers.
  • Simplified metainfo tooling headers by dropping a TARGET_UNIX-only include of oleauto.h.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

FileDescription
src/coreclr/vm/comdatetime.hDrops unused oleauto.h include from COM date/time helper header.
src/coreclr/tools/metainfo/mdinfo.hRemoves TARGET_UNIXoleauto.h include; winwrap.h/PAL types already cover needed declarations for non-COM paths.
src/coreclr/pal/inc/rt/oleauto.hDeletes the unused PAL shim header (no remaining references under CoreCLR).
src/coreclr/inc/utilcode.hRemoves redundant oleauto.h include (keeps ole2.h).

@AaronRobinsonMSFT
AaronRobinsonMSFT merged commit 562ff66 into mainJun 26, 2026
116 checks passed
@AaronRobinsonMSFT
AaronRobinsonMSFT deleted the copilot/delete-dead-code-oleauto branch June 26, 2026 15:45
@dotnet-milestone-botdotnet-milestone-botBot added this to the 11.0-preview7 milestone Jun 28, 2026
eiriktsarpalis pushed a commit that referenced this pull request Jul 15, 2026
`src/coreclr/pal/inc/rt/oleauto.h` was a PAL-era shim that is no longer
needed for current CoreCLR builds.
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Jul 29, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@AaronRobinsonMSFT@jkotas