LLVM/project 9b54420clang/include/clang/AST ASTNodeTraverser.h, clang/lib/AST TextNodeDumper.cpp

[Clang] Dump noexcept expression in compound requirement AST dumps

When a compound requirement has a noexcept(expr) specification, the
expression is now visited as a child node in AST dumps. The text dumper
also shows "noexcept(expr)" instead of just "noexcept" to indicate the
presence of the expression.
DeltaFile
+14-0clang/test/AST/ast-dump-concepts.cpp
+4-1clang/lib/AST/TextNodeDumper.cpp
+3-0clang/include/clang/AST/ASTNodeTraverser.h
+21-13 files

LLVM/project e55e21cclang/include/clang/AST RecursiveASTVisitor.h, clang/test/CXX/expr/expr.prim/expr.prim.req compound-requirement.cpp

Fix noexcept requirement not being checked when concept is used in another concept

The RecursiveASTVisitor was not traversing the noexcept expression in
compound requirements, causing template parameters used only in noexcept
expressions to be missed during constraint normalization.

This resulted in concepts with dependent noexcept requirements (like
noexcept(noexc) where noexc is a template parameter) not being properly
evaluated when the concept was used inside another concept definition.

Fix by adding traversal of getNoexceptExpr() in
TraverseConceptExprRequirement.

Test: Uncommented and verified the test case in compound-requirement.cpp
that was previously commented out because it didn't work.
DeltaFile
+4-4clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
+2-0clang/include/clang/AST/RecursiveASTVisitor.h
+6-42 files

LLVM/project 7a89035llvm/include/llvm/CodeGen ISDOpcodes.h, llvm/lib/CodeGen/SelectionDAG LegalizeIntegerTypes.cpp SelectionDAGBuilder.cpp

[SelectionDAG] Add CTTZ_ELTS[_ZERO_POISON] nodes. NFCI (#185600)

Currently llvm.experimental.cttz.elts are directly lowered from the
intrinsic.

If the type isn't legal then the target tells SelectionDAGBuilder to
expand it into a reduction, but this means we can't split the operation.
E.g. it's possible to split a cttz.elts nxv32i1 into two nxv16i1,
instead of expanding it into a nxv32i64 reduction.

vp.cttz.elts can be split because it has a dedicated SelectionDAG node.

This adds CTTZ_ELTS and CTTZ_ELTS[_ZERO_POISON] nodes and just enough
legalization to get tests passing. A follow up patch will add splitting
and move the expansion into LegalizeDAG.
DeltaFile
+25-19llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+25-8llvm/test/CodeGen/RISCV/rvv/cttz-elts.ll
+16-13llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+21-0llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+7-4llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+7-0llvm/include/llvm/CodeGen/ISDOpcodes.h
+101-444 files not shown
+113-4410 files

LLVM/project 54321bcclang/lib/AST ItaniumMangle.cpp, clang/test/CodeGenCXX mangle-requires.cpp

Add mangling support for noexcept(expr) in compound requirements
DeltaFile
+21-4libcxxabi/src/demangle/ItaniumDemangle.h
+21-4llvm/include/llvm/Demangle/ItaniumDemangle.h
+9-2clang/lib/AST/ItaniumMangle.cpp
+2-1clang/test/CodeGenCXX/mangle-requires.cpp
+2-0libcxxabi/test/DemangleTestCases.inc
+2-0llvm/include/llvm/Testing/Demangle/DemangleTestCases.inc
+57-116 files

LLVM/project d4f8667clang/include/clang/AST ExprConcepts.h, clang/lib/AST ASTConcept.cpp

[Clang] Support noexcept(expr) in C++ concepts compound requirements

This patch implements P3822R0 support for noexcept specifications with constant expressions in C++20 concepts compound requirements.

Previously, only 'noexcept' keyword was supported, which is now
equivalent to 'noexcept(true)'.
DeltaFile
+136-0clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
+61-27clang/lib/Sema/SemaExprCXX.cpp
+25-11clang/lib/Sema/TreeTransform.h
+26-5clang/lib/Parse/ParseExprCXX.cpp
+18-10clang/include/clang/AST/ExprConcepts.h
+11-8clang/lib/AST/ASTConcept.cpp
+277-619 files not shown
+350-8715 files

LLVM/project d303cdfclang/lib/Sema SemaExprCXX.cpp SemaTemplateInstantiate.cpp, clang/test/CXX/expr/expr.prim/expr.prim.req compound-requirement.cpp

Fix noexcept(expr) in compound requirements not instantiating constexpr variables
DeltaFile
+8-28clang/lib/Sema/SemaExprCXX.cpp
+10-0clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
+9-0clang/lib/Sema/SemaTemplateInstantiate.cpp
+27-283 files

LLVM/project 9062cf5clang-tools-extra/clangd FindTarget.cpp, clang-tools-extra/clangd/unittests SemanticHighlightingTests.cpp

[clangd] Report reference to UsingType's target decl at the correct location (#186310)

Fixes https://github.com/clangd/clangd/issues/2617
DeltaFile
+7-1clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
+2-2clang-tools-extra/clangd/FindTarget.cpp
+9-32 files

OpenBSD/ports bLaE7uJmultimedia/mkvtoolnix Makefile

   mkvtoolnix: remove ports-gcc workaround for stdc++fs

   from Brad
VersionDeltaFile
1.150+0-5multimedia/mkvtoolnix/Makefile
+0-51 files

OpenBSD/src FYdl4nsregress/sbin/disklabel 18000.ok 20000.ok

   Sync expected sizes after recent /usr/obj bump.
VersionDeltaFile
1.9+20-20regress/sbin/disklabel/18000.ok
1.9+20-20regress/sbin/disklabel/20000.ok
1.9+10-28regress/sbin/disklabel/12000.ok
1.9+18-18regress/sbin/disklabel/40000.ok
1.11+18-18regress/sbin/disklabel/90000.ok
1.10+12-12regress/sbin/disklabel/300000.ok
+98-1161 files not shown
+102-1207 files

HardenedBSD/src 9579ad0contrib/tcpdump tcpdump.c print-icmp6.c, contrib/tcpdump/missing snprintf.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+0-508contrib/tcpdump/missing/snprintf.c
+311-47contrib/tcpdump/tcpdump.c
+84-103contrib/tcpdump/print-icmp6.c
+79-105contrib/tcpdump/print-egp.c
+110-56contrib/tcpdump/CMakeLists.txt
+54-84contrib/tcpdump/print-mobility.c
+638-90363 files not shown
+1,581-1,65869 files

HardenedBSD/src 3ca155dcontrib/tcpdump tcpdump.c print-icmp6.c, contrib/tcpdump/missing snprintf.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+0-508contrib/tcpdump/missing/snprintf.c
+311-47contrib/tcpdump/tcpdump.c
+84-103contrib/tcpdump/print-icmp6.c
+79-105contrib/tcpdump/print-egp.c
+110-56contrib/tcpdump/CMakeLists.txt
+54-84contrib/tcpdump/print-mobility.c
+638-90363 files not shown
+1,581-1,65869 files

HardenedBSD/ports 883633aeditors/zed distinfo, games/xray-16 pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+2,286-0www/redmine61/pkg-plist
+0-644games/xray-16/pkg-plist
+166-0www/redmine61/files/patch-Gemfile
+152-0www/redmine61/Makefile
+61-37editors/zed/distinfo
+78-0www/redmine61/bsd.redmine.mk
+2,743-68153 files not shown
+3,049-81659 files

LLVM/project 62f5754clang/lib/CIR/CodeGen CIRGenCall.cpp CIRGenModule.cpp, clang/test/CIR/CodeGen arg-attrs.cpp invoke-attrs.cpp

[CIR] Fix reference alignment to use pointee type

getNaturalTypeAlignment on a reference type returned pointer alignment
instead of pointee alignment. Pass the pointee type with
forPointeeType=true to match traditional codegen's
getNaturalPointeeTypeAlignment behavior. Fix applies to both argument
and return type attribute construction paths.
DeltaFile
+27-4clang/test/CIR/CodeGen/arg-attrs.cpp
+8-5clang/lib/CIR/CodeGen/CIRGenCall.cpp
+7-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+3-3clang/test/CIR/CodeGen/invoke-attrs.cpp
+1-4clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+3-0clang/lib/CIR/CodeGen/CIRGenModule.h
+49-166 files

LLVM/project e7041d4clang/include/clang/CIR/Dialect/IR CIROps.td

[CIR] Add Pure trait to IsFPClassOp (#186625)

IsFPClassOp is a pure classification check on a floating-point value
with no memory effects.
DeltaFile
+1-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+1-11 files

LLVM/project 6cf0e46clang/test/CIR/CodeGen cxx-default-init.cpp lambda.cpp

[CIR] Emit inbounds nuw flags on GetMemberOp GEP lowering

Struct member accesses via GetMemberOp are always inbounds and cannot
unsigned-wrap, matching LLVM's IRBuilder::CreateStructGEP behavior.
DeltaFile
+14-14clang/test/CIR/CodeGen/cxx-default-init.cpp
+13-13clang/test/CIR/CodeGen/lambda.cpp
+11-11clang/test/CIR/CodeGen/struct.cpp
+9-9clang/test/CIR/CodeGen/bitfields.c
+8-8clang/test/CIR/CodeGen/volatile.cpp
+7-7clang/test/CIR/CodeGen/aapcs-volatile-bitfields.c
+62-6219 files not shown
+115-10925 files

LLVM/project c6626f0orc-rt/include CMakeLists.txt, orc-rt/include/orc-rt LockedAccess.h

[orc-rt] Add LockedAccess utility. (#186737)

LockedAccess provides pointer-like access to a value while holding a
lock. All accessors are rvalue-ref-qualified, restricting usage to
temporaries to prevent accidental lock lifetime extension. A with_ref
method is provided for multi-statement critical sections.
DeltaFile
+151-0orc-rt/unittests/LockedAccessTest.cpp
+86-0orc-rt/include/orc-rt/LockedAccess.h
+1-0orc-rt/unittests/CMakeLists.txt
+1-0orc-rt/include/CMakeLists.txt
+239-04 files

FreeBSD/ports 918e850www/redmine61 pkg-plist Makefile, www/redmine61/files patch-Gemfile redmine.in

www/redmine61: Add new port.
DeltaFile
+2,286-0www/redmine61/pkg-plist
+166-0www/redmine61/files/patch-Gemfile
+152-0www/redmine61/Makefile
+78-0www/redmine61/bsd.redmine.mk
+40-0www/redmine61/files/redmine.in
+39-0www/redmine61/files/patch-config_database.yml.sample
+2,761-012 files not shown
+2,827-018 files

HardenedBSD/ports 918e850www/redmine61 pkg-plist Makefile, www/redmine61/files patch-Gemfile redmine.in

www/redmine61: Add new port.
DeltaFile
+2,286-0www/redmine61/pkg-plist
+166-0www/redmine61/files/patch-Gemfile
+152-0www/redmine61/Makefile
+78-0www/redmine61/bsd.redmine.mk
+40-0www/redmine61/files/redmine.in
+39-0www/redmine61/files/patch-config_database.yml.sample
+2,761-012 files not shown
+2,827-018 files

OpenBSD/src TlDkmINsys/dev/pci/drm/ttm ttm_device.c

   make ttm_device_prepare_hibernation() return early

   kettenis reports the ttm_tm_swapout() change is not enough to fix
   hibernate with amdgpu when X is running.

   The call to ttm_device_prepare_hibernation()/ttm_tm_swapout() in the
   hibernate path was added in a linux commit from 2025:
   924dda024f3bea64be5f3ac067a075e466739dc9
   drm/amdgpu: move GTT to shmem after eviction for hibernation

   The linux reason for doing this (server cards with lots of VRAM) isn't
   something that concerns us.

   ok kettenis@
VersionDeltaFile
1.8+3-0sys/dev/pci/drm/ttm/ttm_device.c
+3-01 files

LLVM/project 4cac790bolt/docs profiles.md

update

Created using spr 1.3.4
DeltaFile
+18-8bolt/docs/profiles.md
+18-81 files

OpenBSD/src b9QAh4gsys/kern kern_pledge.c

   When pledged, the special access(2) inspection for "/etc/localtime" has not
   been needed since changes made in lib/libc/time/localtime.c 1.58 (2019)
   pointed out by david leadbeater
VersionDeltaFile
1.348+1-9sys/kern/kern_pledge.c
+1-91 files

LLVM/project ff98d79clang/include/clang/AST TypeBase.h TypeProperties.td, clang/lib/AST ASTContext.cpp Type.cpp

[clang] DeducedTypes deduction kind fix and improvement

This is a small refactor of how DeducedType and it's derived types are
represented.

The different deduction kinds are spelled out in an enum, and how this
is tracked is simplified, to allow easier profiling.

How these types are constructed and canonicalized is also brought more
in line with how it works for the other types.

This fixes a crash reported here: https://github.com/llvm/llvm-project/issues/167513#issuecomment-3692962115
DeltaFile
+82-91clang/lib/AST/ASTContext.cpp
+81-38clang/include/clang/AST/TypeBase.h
+48-20clang/lib/AST/Type.cpp
+14-16clang/lib/Sema/TreeTransform.h
+9-18clang/include/clang/AST/TypeProperties.td
+20-4clang/lib/AST/TextNodeDumper.cpp
+254-18714 files not shown
+320-23920 files

FreeBSD/ports 8f591beeditors/zed distinfo Makefile.crates, editors/zed/files patch-Cargo.lock patch-crates_project_src_agent__server__store.rs

editors/zed: Update to 0.227.1

Changelog:
- https://github.com/zed-industries/zed/releases/tag/v0.226.5
- https://github.com/zed-industries/zed/releases/tag/v0.227.1

Reported by:    GitHub (watch releases)
DeltaFile
+61-37editors/zed/distinfo
+29-17editors/zed/Makefile.crates
+8-8editors/zed/files/patch-Cargo.lock
+3-12editors/zed/files/patch-crates_project_src_agent__server__store.rs
+6-6editors/zed/files/patch-crates_gpui_src_gpui.rs
+9-3editors/zed/files/patch-crates_gpui_examples_layer__shell.rs
+116-8310 files not shown
+152-10916 files

HardenedBSD/ports 8f591beeditors/zed distinfo Makefile.crates, editors/zed/files patch-Cargo.lock patch-crates_project_src_agent__server__store.rs

editors/zed: Update to 0.227.1

Changelog:
- https://github.com/zed-industries/zed/releases/tag/v0.226.5
- https://github.com/zed-industries/zed/releases/tag/v0.227.1

Reported by:    GitHub (watch releases)
DeltaFile
+61-37editors/zed/distinfo
+29-17editors/zed/Makefile.crates
+8-8editors/zed/files/patch-Cargo.lock
+3-12editors/zed/files/patch-crates_project_src_agent__server__store.rs
+9-3editors/zed/files/patch-crates_gpui_examples_layer__shell.rs
+6-6editors/zed/files/patch-crates_gpui_src_gpui.rs
+116-8310 files not shown
+152-10916 files

LLVM/project 4f2d860clang/include/clang/AST TypeBase.h TypeProperties.td, clang/lib/AST ASTContext.cpp Type.cpp

[clang] DeducedTypes deduction kind fix and improvement

This is a small refactor of how DeducedType and it's derived types are
represented.

The different deduction kinds are spelled out in an enum, and how this
is tracked is simplified, to allow easier profiling.

How these types are constructed and canonicalized is also brought more
in line with how it works for the other types.

This fixes a crash reported here: https://github.com/llvm/llvm-project/issues/167513#issuecomment-3692962115
DeltaFile
+82-91clang/lib/AST/ASTContext.cpp
+81-38clang/include/clang/AST/TypeBase.h
+48-20clang/lib/AST/Type.cpp
+14-16clang/lib/Sema/TreeTransform.h
+9-18clang/include/clang/AST/TypeProperties.td
+20-4clang/lib/AST/TextNodeDumper.cpp
+254-18713 files not shown
+317-23619 files

LLVM/project 696e82dclang/lib/Sema SemaDeclCXX.cpp, clang/test/CodeGenCXX dllexport-inherited-ctor.cpp

[clang] Skip dllexport of inherited constructors with unsatisfied constraints (#186497)

When a class is marked `__declspec(dllexport)`, Clang eagerly creates
inherited constructors via `findInheritingConstructor` and propagates
the dllexport attribute to all members. This bypasses overload
resolution, which would normally filter out constructors whose requires
clause is not satisfied. As a result, Clang attempted to instantiate
constructor bodies that should never be available, causing spurious
compilation errors.

Add constraint satisfaction checks in `checkClassLevelDLLAttribute` to
match MSVC behavior:

1. Before eagerly creating inherited constructors, verify that the base
constructor's `requires` clause is satisfied. Skip creation otherwise.

2. Before applying dllexport to non-inherited methods of class template
specializations, verify constraint satisfaction. This handles the case
where `dllexport` propagates to a base template specialization whose own

    [9 lines not shown]
DeltaFile
+56-30clang/lib/Sema/SemaDeclCXX.cpp
+78-4clang/test/CodeGenCXX/dllexport-inherited-ctor.cpp
+40-0clang/test/SemaCXX/dllexport-constrained-inherited-ctor.cpp
+174-343 files

LLVM/project 4287cfeclang/include/clang/AST TypeBase.h TypeProperties.td, clang/lib/AST ASTContext.cpp Type.cpp

[clang] DeducedTypes deduction kind fix and improvement

This is a small refactor of how DeducedType and it's derived types are
represented.

The different deduction kinds are spelled out in an enum, and how this
is tracked is simplified, to allow easier profiling.

How these types are constructed and canonicalized is also brought more
in line with how it works for the other types.

This fixes a crash reported here: https://github.com/llvm/llvm-project/issues/167513#issuecomment-3692962115
DeltaFile
+82-91clang/lib/AST/ASTContext.cpp
+81-38clang/include/clang/AST/TypeBase.h
+48-20clang/lib/AST/Type.cpp
+14-16clang/lib/Sema/TreeTransform.h
+9-18clang/include/clang/AST/TypeProperties.td
+20-4clang/lib/AST/TextNodeDumper.cpp
+254-18713 files not shown
+317-23619 files

FreeBSD/src e608379contrib/tcpdump tcpdump.c print-icmp6.c, contrib/tcpdump/missing snprintf.c

tcpdump: Update to 4.99.6

Changes:        https://github.com/the-tcpdump-group/tcpdump/blob/tcpdump-4.99/CHANGES
Obtained from:  https://www.tcpdump.org/release/tcpdump-4.99.6.tar.xz
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55578
Differential Revision:  https://reviews.freebsd.org/D55871
DeltaFile
+0-508contrib/tcpdump/missing/snprintf.c
+311-47contrib/tcpdump/tcpdump.c
+84-103contrib/tcpdump/print-icmp6.c
+79-105contrib/tcpdump/print-egp.c
+110-56contrib/tcpdump/CMakeLists.txt
+54-84contrib/tcpdump/print-mobility.c
+638-90363 files not shown
+1,581-1,65869 files

HardenedBSD/src e608379contrib/tcpdump tcpdump.c print-icmp6.c, contrib/tcpdump/missing snprintf.c

tcpdump: Update to 4.99.6

Changes:        https://github.com/the-tcpdump-group/tcpdump/blob/tcpdump-4.99/CHANGES
Obtained from:  https://www.tcpdump.org/release/tcpdump-4.99.6.tar.xz
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55578
Differential Revision:  https://reviews.freebsd.org/D55871
DeltaFile
+0-508contrib/tcpdump/missing/snprintf.c
+311-47contrib/tcpdump/tcpdump.c
+84-103contrib/tcpdump/print-icmp6.c
+79-105contrib/tcpdump/print-egp.c
+110-56contrib/tcpdump/CMakeLists.txt
+54-84contrib/tcpdump/print-mobility.c
+638-90363 files not shown
+1,581-1,65869 files

HardenedBSD/ports aaee058audio/subtui distinfo Makefile

audio/subtui: Update to 2.11.3

Changelog: https://github.com/MattiaPun/SubTUI/releases/tag/v2.11.3
DeltaFile
+5-5audio/subtui/distinfo
+1-1audio/subtui/Makefile
+6-62 files