Skip to content

Conversation

@credo-quia-absurdum
Copy link
Contributor

This change improves the readability of comments in gtlist.h.

Previously, the comment columns were visually aligned by placing commas in the
same positions as the actual argument separators. While this kept the columns
technically aligned, the presence of "floating commas" in the comments made the
structure harder to parse at a glance.

The updated version replaces those comma placeholders with clearer alignment
cues, making the layout easier to understand.

No behavioral changes.

Part of #84834, cc @dotnet/samsung
@SkyShield @namu-lee

Copilot AI review requested due to automatic review settings November 19, 2025 10:32
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Nov 19, 2025
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Nov 19, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the visual alignment of comments in gtlist.h by replacing comma-based placeholders with a clearer column alignment scheme using pipe characters (|) and arrows (v). The new format makes the comment structure more readable by explicitly showing the vertical alignment between the column headers and the actual GTNODE macro parameters.

Key Changes:

  • Replaced floating commas in comments with explicit pipe characters (|) to show column boundaries
  • Added arrows (v) to clearly indicate which comment header corresponds to which macro parameter
  • Improved visual clarity while maintaining the same informational content

@am11 am11 added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Nov 19, 2025
@dotnet-policy-service
Copy link
Contributor

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

@tannergooding
Copy link
Member

cc. @dotnet/jit-contrib for secondary input

Copy link
Contributor

@adamperlin adamperlin left a comment

Choose a reason for hiding this comment

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

I think this looks good to me. I agree that this is easier to parse visually!

@tannergooding tannergooding merged commit f669bcb into dotnet:main Dec 15, 2025
112 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants