LLVM/project a1d40ddclang-tools-extra/clang-tidy/bugprone UseAfterMoveCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Fix false positives about reinitialization detection in `bugprone-use-after-move` (#197438)

When calling base class's `operator=` through derived object, a implicit
cast with `UncheckedDerivedToBase` will be generated:
```
void foo() {
  Base b;
  Derived d;
  std::move(d);
  d = b;
}
```
AST for `d = b`'s `d`:  
```
        |-ImplicitCastExpr <col:3> 'GH62206::Base' lvalue <UncheckedDerivedToBase (Base)>
        | `-DeclRefExpr <col:3> 'Derived' lvalue Var 0x1d11a400 'd' 'Derived'
```

This patch considers possible `implicitCastExpr` in the reinit matcher,

    [8 lines not shown]
DeltaFile
+24-0clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp
+2-1clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
+3-0clang-tools-extra/docs/ReleaseNotes.rst
+29-13 files

LLVM/project 25ad067llvm/lib/CodeGen PHIElimination.cpp, llvm/test/CodeGen/X86 phi-elim-undef-livevars.mir coalescer-copy-from-erasable-implicit-def.ll

[PHIElimination] Clear stale LiveVariables AliveBlocks for undef PHI sources (#197764)

When PHI Elimination lowers a PHI with an undef source (e.g. from an
`IMPLICIT_DEF),` it skips the LiveVariables kill/AliveBlocks update
because the value is undefined. However, the source register's
AliveBlocks may still mark intermediate blocks as live-through from its
definition to the (now eliminated) PHI use. This causes MachineVerifier
failures in EXPENSIVE_CHECKS builds.

Fix by calling `recomputeForSingleDefVirtReg` on undef source registers
when their last PHI use on a CFG edge is eliminated, which correctly
clears the stale AliveBlocks entries.

Fixes the EXPENSIVE_CHECKS failure introduced by #196895.
DeltaFile
+75-0llvm/test/CodeGen/X86/phi-elim-undef-livevars.mir
+8-0llvm/lib/CodeGen/PHIElimination.cpp
+1-1llvm/test/CodeGen/X86/coalescer-copy-from-erasable-implicit-def.ll
+84-13 files

FreeBSD/ports e0017a0www/dooble distinfo Makefile, www/dooble/files patch-Source_dooble__settings.cc

www/dooble: Update 2026.03.31 => 2026.05.15

Changelog:
https://github.com/textbrowser/dooble/releases/tag/2026.05.15

PR:             295322
Sponsored by:   UNIS Labs
DeltaFile
+0-29www/dooble/files/patch-Source_dooble__settings.cc
+3-3www/dooble/distinfo
+1-1www/dooble/Makefile
+4-333 files

NetBSD/pkgsrc K26ygxCaudio/rhythmbox Makefile, lang/gjs Makefile

   *: Use glib2-introspection from devel category, not from wip
VersionDeltaFile
1.224+2-2audio/rhythmbox/Makefile
1.42+2-2lang/gjs/Makefile
1.36+2-2sysutils/gnome-characters/Makefile
+6-63 files

FreeBSD/ports c9154d0editors/vscode pkg-plist distinfo, editors/vscode/files patch-build_gulpfile.vscode.ts patch-src_vs_base_common_platform.ts

editors/vscode: Update to 1.120.0

Changelog: https://code.visualstudio.com/updates/v1_120

Reported by:    GitHub (watch releases)
DeltaFile
+6-468editors/vscode/pkg-plist
+15-15editors/vscode/distinfo
+5-5editors/vscode/files/patch-build_gulpfile.vscode.ts
+4-4editors/vscode/Makefile.crates
+3-3editors/vscode/files/patch-src_vs_base_common_platform.ts
+2-2editors/vscode/files/patch-src_vs_code_electron-main_app.ts
+35-4973 files not shown
+41-5039 files

FreeBSD/ports 408bd75shells/carapace distinfo Makefile

shells/carapace: Update to 1.6.6

Changelog: https://github.com/carapace-sh/carapace-bin/releases/tag/v1.6.6

Reported by:    GitHub (watch releases)
DeltaFile
+5-5shells/carapace/distinfo
+2-3shells/carapace/Makefile
+7-82 files

FreeBSD/ports 88e5325misc/crush distinfo Makefile

misc/crush: Update to 0.69.1

Changelog:
- https://github.com/charmbracelet/crush/releases/tag/v0.68.0
- https://github.com/charmbracelet/crush/releases/tag/v0.69.0
- https://github.com/charmbracelet/crush/releases/tag/v0.69.1

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-1misc/crush/Makefile
+6-62 files

NetBSD/pkgsrc wFjx2Wowww/ap24-auth-gssapi Makefile, www/ap24-auth-gssapi/patches patch-tests_magtests.py patch-tests_httpd.conf

   ap24-auth-gssapi: Import apache2.4 module mod_auth_gssapi-1.6.5

   This is a modern replacement for mod_auth_kerb (www/ap-auth-kerb),
   built with the standardized GSSAPI rather than with the not-quite-so
   standardized libkrb5.
VersionDeltaFile
1.1+264-0www/ap24-auth-gssapi/patches/patch-tests_magtests.py
1.1+67-0www/ap24-auth-gssapi/patches/patch-tests_httpd.conf
1.1+66-0www/ap24-auth-gssapi/Makefile
1.1+62-0www/ap24-auth-gssapi/patches/patch-configure.ac
1.1+54-0www/ap24-auth-gssapi/patches/patch-src_mod__auth__gssapi.c
1.1+22-0www/ap24-auth-gssapi/patches/patch-tests_t__file__check.py
+535-06 files not shown
+589-112 files

FreeBSD/ports 5c0a7e8graphics/curtail distinfo Makefile

graphics/curtail: update 1.16.0 → 1.16.1
DeltaFile
+3-3graphics/curtail/distinfo
+1-1graphics/curtail/Makefile
+4-42 files

FreeBSD/ports fb89921misc/ollama distinfo Makefile, misc/ollama/files update-port.sh

misc/ollama: update 0.23.3 → 0.24.0
DeltaFile
+11-11misc/ollama/distinfo
+1-2misc/ollama/Makefile
+1-1misc/ollama/files/update-port.sh
+13-143 files

FreeBSD/ports cabee56misc/py-fastmcp Makefile distinfo

misc/py-fastmcp: update 3.0.2 → 3.3.0
DeltaFile
+13-4misc/py-fastmcp/Makefile
+3-3misc/py-fastmcp/distinfo
+16-72 files

LLVM/project e6566c5clang/lib/Parse ParseOpenACC.cpp, clang/test/ParserOpenACC gh197858.cpp

[OpenACC] Fix invalid using inside of an openacc directive (#198058)

Bug report #197858 comes up with a reproducer where an invalid `using`
declaration checks the Scope it is in, and asserts if it isn't in a
DeclScope. Since all of the important directives that create scopes end
up causing a new scope anyway, this patch adds 'DeclScope' to the parse
scope for an OpenACC directive. This follows the guidance of the OpenMP
directives.

Fixes: #197858
DeltaFile
+10-0clang/test/ParserOpenACC/gh197858.cpp
+3-3clang/lib/Parse/ParseOpenACC.cpp
+13-32 files

OpenBSD/ports xDRMpqcnews/sabnzbd distinfo Makefile

   Update to sabnzbd-5.0.3

   Changes: https://github.com/sabnzbd/sabnzbd/releases/tag/5.0.3
VersionDeltaFile
1.54+2-2news/sabnzbd/distinfo
1.79+1-1news/sabnzbd/Makefile
+3-32 files

FreeBSD/ports bac1f14cad/gspiceui Makefile

cad/gspiceui: Fix documentation path

Improve port:
- Replace PORTVERSION with DISTVERSION.
- Fix warnings from portclippy.
- Remove unnecessary MKDIRs.
- Merge COPYTREE_SHARE.

PR:             295290
Reported by:    Nilton Jose Rizzo
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
MFH:            2026Q2

(cherry picked from commit 9a823ec6ed60849912a65d729ae4d706db0a290c)
DeltaFile
+12-16cad/gspiceui/Makefile
+12-161 files

FreeBSD/ports 9a823eccad/gspiceui Makefile

cad/gspiceui: Fix documentation path

Improve port:
- Replace PORTVERSION with DISTVERSION.
- Fix warnings from portclippy.
- Remove unnecessary MKDIRs.
- Merge COPYTREE_SHARE.

PR:             295290
Reported by:    Nilton Jose Rizzo
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
MFH:            2026Q2
DeltaFile
+12-16cad/gspiceui/Makefile
+12-161 files

LLVM/project 319a501offload/plugins-nextgen/common CMakeLists.txt

[Offload] Fix missing dependency on generated OffloadAPI headers (#198055)

Summary:
These are included in the plugins but not a dependency

Fixes: https://github.com/llvm/llvm-project/issues/196690
DeltaFile
+1-1offload/plugins-nextgen/common/CMakeLists.txt
+1-11 files

LLVM/project 82bc7ddclang/lib/AST/ByteCode Program.cpp Interp.cpp, clang/test/AST/ByteCode records.cpp

[clang][bytecode] Fix wrong 'never produces a constant expression' diagnostic with static data members (#197881)

They can be initialized later, similar to extern variables.
DeltaFile
+8-11clang/lib/AST/ByteCode/Program.cpp
+9-2clang/lib/AST/ByteCode/Interp.cpp
+10-0clang/test/AST/ByteCode/records.cpp
+27-133 files

FreeBSD/ports dc54f29biology/diamond distinfo Makefile

biology/diamond: Update to 2.2.0

Release notes:  https://github.com/bbuchfink/diamond/releases
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3biology/diamond/distinfo
+1-1biology/diamond/Makefile
+4-42 files

FreeBSD/ports 67dc86emisc/py-litellm-proxy-extras distinfo Makefile

misc/py-litellm-proxy-extras: Update to 0.4.72

Reported by:    Repology
DeltaFile
+3-3misc/py-litellm-proxy-extras/distinfo
+1-1misc/py-litellm-proxy-extras/Makefile
+4-42 files

FreeBSD/ports 088616fmisc/py-litellm Makefile distinfo, misc/py-litellm/files patch-pyproject.toml

misc/py-litellm: Update to 1.84.0

Changelog: https://github.com/BerriAI/litellm/releases

Reported by:    Repology
DeltaFile
+4-35misc/py-litellm/files/patch-pyproject.toml
+14-14misc/py-litellm/Makefile
+3-3misc/py-litellm/distinfo
+21-523 files

FreeBSD/src 1836330sys/dev/thunderbolt nhi.c router.c

thunderbolt: make code -Wunused clean

This change modifies code paths and uses `__diagused` to address `-Wunused`
issues that occur when `THUNDERBOLT_DEBUG` == `0`.

MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D55575
DeltaFile
+11-7sys/dev/thunderbolt/nhi.c
+7-4sys/dev/thunderbolt/router.c
+3-3sys/dev/thunderbolt/tb_debug.c
+1-1sys/dev/thunderbolt/tb_pcib.c
+1-1sys/dev/thunderbolt/tb_debug.h
+1-1sys/dev/thunderbolt/tb_acpi_pcib.c
+24-176 files

OpenBSD/ports bFScnM6games/godot/pack1 Makefile, games/godot/pack1/patches patch-core_io_file_access_pack_cpp

   Downgrade mismatch when checking pack version minor from error to
   warning.

   With relative API stability in Godot 3.x, don't error when Godot bin
   minor is less than pack file minor, warn instead. This is stop refusing
   to run games that are built with HEAD and report higher minor version
   than latest release.

   ok op@
VersionDeltaFile
1.1+22-0games/godot/pack1/patches/patch-core_io_file_access_pack_cpp
1.4+1-1games/godot/pack1/Makefile
+23-12 files

LLVM/project a140313libc/src/stdlib qsort_data.h

[libc] Make cpp::byte alias-safe (#194171)

Change LIBC_NAMESPACE::cpp::byte from an enum-backed type to unsigned
char so libc’s raw-memory utilities and sorting code can legally access
object representations without violating C++ strict-aliasing rules.
DeltaFile
+15-14libc/src/stdlib/qsort_data.h
+15-141 files

LLVM/project c45cd10llvm/include/llvm/Analysis MemoryBuiltins.h, llvm/include/llvm/IR InstrTypes.h

[MemoryBuiltins] Capture more information for alloc/free from attributes

We now read the `alloc_align` attribute to provide better alignment
information to users. `alloc-family` should be used as well, as
described in the LangRef. Two new helpers provide argument numbers,
rather than values.
DeltaFile
+14-19llvm/lib/Analysis/MemoryBuiltins.cpp
+10-3llvm/lib/IR/Instructions.cpp
+5-0llvm/include/llvm/Analysis/MemoryBuiltins.h
+4-0llvm/include/llvm/IR/InstrTypes.h
+33-224 files

LLVM/project 874420dflang/lib/Optimizer/HLFIR/Transforms OptimizedBufferization.cpp, flang/test/HLFIR opt-bufferization-skip-volatile.fir

[flang] Recognize effects on non-addressable resources in opt-bufferization.

opt-bufferization has been only handling `fir::DebuggingResource`
explicitly. This patch adds support for other non-addressable
resources, such as `fir::VolatileMemoryResource`. This allows
merging elemental/assign for the `volatile_src_nonvolatile_dst`
example in the updated LIT test.
DeltaFile
+115-22flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
+6-8flang/test/HLFIR/opt-bufferization-skip-volatile.fir
+121-302 files

LLVM/project 88459c7flang/include/flang/Optimizer/Dialect FIROps.td, flang/test/HLFIR opt-bufferization-skip-volatile.fir

[flang] Pass-through fir.volatile_cast in FIR AliasAnalysis.

It should be safe to pass-through `fir.volatile_cast` for the purpose
of alias analysis. The missing pass-through prevented optimization
of the `nonvolatile_src_volatile_dst` test (see updated LIT test).
DeltaFile
+98-4flang/test/HLFIR/opt-bufferization-skip-volatile.fir
+12-1flang/include/flang/Optimizer/Dialect/FIROps.td
+110-52 files

LLVM/project 0320f03libc/lib CMakeLists.txt

[libc] Fix install-libc to work with LLVM_LIBC_FULL_BUILD=OFF (#197366)

Initialize variables that are conditionally set to avoid undefined
references in install-libc and install-libc-stripped targets:

- Initialize added_bitcode_targets to empty string (may be undefined
when LIBC_TARGET_OS_IS_GPU=OFF)
- Initialize startup_target to empty string and only set to
"libc-startup" when both LLVM_LIBC_FULL_BUILD=ON and NOT baremetal
(startup directory is only included in full builds)
- Initialize header_install_target to empty string (may be undefined
when LLVM_LIBC_FULL_BUILD=OFF)
DeltaFile
+4-1libc/lib/CMakeLists.txt
+4-11 files

LLVM/project 88afb5amlir/include/mlir/Interfaces InferIntDivisibilityOpInterface.h, mlir/lib/Analysis/DataFlow IntegerDivisibilityAnalysis.cpp

Revert "[MLIR] Add `IntegerDivisibilityAnalysis` and `InferIntDivisibilityOpInterface`" (#198048)

Reverts llvm/llvm-project#197728

unblock bots: 
https://lab.llvm.org/buildbot/#/builders/226
https://lab.llvm.org/buildbot/#/builders/203
DeltaFile
+0-312mlir/lib/Dialect/Affine/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+0-152mlir/test/Analysis/DataFlow/integer-divisibility.mlir
+0-135mlir/lib/Analysis/DataFlow/IntegerDivisibilityAnalysis.cpp
+0-122mlir/lib/Dialect/Arith/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+0-120mlir/include/mlir/Interfaces/InferIntDivisibilityOpInterface.h
+0-93mlir/test/lib/Analysis/DataFlow/TestIntegerDivisibilityAnalysis.cpp
+0-93413 files not shown
+11-1,09519 files

LLVM/project 3864552llvm/lib/Target/DirectX/DXILWriter DXILBitcodeWriter.cpp, llvm/test/tools/dxil-dis di-subprogram.ll

[DirectX] Do not emit !dbg on function definitions (#197449)

This was not done in LLVM 3.7. Instead, the !DISubprogram contains a
reference to the function (already emitted).
DeltaFile
+4-0llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
+2-0llvm/test/tools/dxil-dis/di-subprogram.ll
+6-02 files

FreeBSD/ports 46e799ex11/xlockmore distinfo Makefile

x11/xlockmore: Update to 5.88

Changes:        https://sillycycle.com/xlock/xlockmore.README
Reported by:    portscout
DeltaFile
+3-3x11/xlockmore/distinfo
+1-1x11/xlockmore/Makefile
+4-42 files