Page MenuHomeFreeBSD

libc++: Fix deprecation warnings with latest clang
ClosedPublic

Authored by arichardson on Sep 14 2025, 10:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 22, 3:09 AM
Unknown Object (File)
Sat, Feb 21, 7:32 AM
Unknown Object (File)
Fri, Feb 20, 8:36 PM
Unknown Object (File)
Wed, Feb 18, 3:04 PM
Unknown Object (File)
Tue, Feb 17, 7:17 AM
Unknown Object (File)
Mon, Feb 9, 7:48 AM
Unknown Object (File)
Sun, Feb 8, 11:54 PM
Unknown Object (File)
Jan 25 2026, 2:22 AM
Subscribers

Details

Summary

Latest clang has become more strict in diagnosing deprecated decls, so
pull in LLVM commit 9feac2cbd0d80927ce9a8b4c3e810d2b81802d55.

Original commit message:
[libc++] Improve deprecated diagnostic guards.

Recent Clang-21 builds improved the deprecated diagnotics. This
uncovered missing guards in libc++ internally.

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 15 2025, 12:14 PM

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

This seems confusing in the commit message

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

This seems confusing in the commit message

will drop that part of the commit message, I guess something went wrong when this was committed upstream.