Skip to content

[Clang] [Docs] Add release notes for #143514 and #143520 #147562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,12 @@ Improvements to Clang's diagnostics
- Clang now accepts ``@tparam`` comments on variable template partial
specializations. (#GH144775)

- Fixed a bug that caused diagnostic line wrapping to not function correctly on
some systems. (#GH139499)

- Clang now tries to avoid printing file paths that contain ``..``, instead preferring
Copy link
Collaborator

Choose a reason for hiding this comment

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

We also handle things like . don't we? I suppose that doesn't matter for the release note.

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, the simplification only kicks in if the path actually contains .. because while ../../../ etc is pretty common, I’m hoping no-one is writing ./././...

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, ./ doesn’t really affect the path length too much: if a path contains ./, simplifying it is just a matter of removing that segment, whereas with ../, we also remove the preceding segment, which might be quite long (e.g. x86_64-redhat-linux in the case of libstdc++).

the canonical file path if it ends up being shorter.

Improvements to Clang's time-trace
----------------------------------

Expand Down
Loading