LLVM/project 11d7939clang/lib/Format UnwrappedLineParser.cpp TokenAnnotator.cpp, clang/unittests/Format FormatTest.cpp

[clang-format] Keep C++20 module/import decls on a single line (#199459)

This patch fixes #193676.

- Added `UnwrappedLineParser::parseModuleDecl()` to parse C++20 module
declarations.
- Adapted `parseCppModuleImport()` from #193834 and renamed it to
`parseImportDecl()`.
- Used the test cases from the same PR.
- Removed the invalid test cases and fixed an incorrect one in
`FormatTest.cpp`.

---------

Co-authored-by: Björn Schäpers <github at hazardy.de>
DeltaFile
+78-50clang/lib/Format/UnwrappedLineParser.cpp
+24-13clang/unittests/Format/FormatTest.cpp
+3-6clang/lib/Format/TokenAnnotator.cpp
+4-1clang/lib/Format/UnwrappedLineParser.h
+2-0clang/lib/Format/TokenAnnotator.h
+111-705 files

FreeBSD/ports f3fc739math/R-cran-igraph distinfo Makefile

math/R-cran-igraph: Update to 2.3.2

Reported by:    portscout
DeltaFile
+3-3math/R-cran-igraph/distinfo
+1-1math/R-cran-igraph/Makefile
+4-42 files

FreeBSD/ports 24796a8dns/godns distinfo Makefile

dns/godns: Update to 3.4.2

Changelog: https://github.com/TimothyYe/godns/releases/tag/v3.4.2
DeltaFile
+7-7dns/godns/distinfo
+1-2dns/godns/Makefile
+8-92 files

FreeBSD/ports 5b066a2multimedia/mediamtx distinfo Makefile, multimedia/mediamtx/files patch-mediamtx.yml

multimedia/mediamtx: Update to 1.19.0

Changelog: https://github.com/bluenviron/mediamtx/releases/tag/v1.19.0
DeltaFile
+13-15multimedia/mediamtx/files/patch-mediamtx.yml
+7-7multimedia/mediamtx/distinfo
+1-2multimedia/mediamtx/Makefile
+21-243 files

FreeBSD/ports e66953edns/blocky distinfo Makefile

dns/blocky: Update to 0.31.0

Changelog: https://github.com/0xERR0R/blocky/releases/tag/v0.31.0
DeltaFile
+5-5dns/blocky/distinfo
+2-3dns/blocky/Makefile
+7-82 files

LLVM/project 6afe164libcxx/test/libcxx/transitive_includes cxx03.csv cxx11.csv

regenerate transitive include
DeltaFile
+5-0libcxx/test/libcxx/transitive_includes/cxx03.csv
+5-0libcxx/test/libcxx/transitive_includes/cxx11.csv
+5-0libcxx/test/libcxx/transitive_includes/cxx14.csv
+5-0libcxx/test/libcxx/transitive_includes/cxx17.csv
+20-04 files

LLVM/project 9781918clang/lib/CIR/CodeGen CIRGenBuilder.h CIRGenAtomic.cpp, clang/test/CIR/CodeGen atomic.c

[CIR] Initialization of atomic aggregates with padding (#200668)

This patch adds support for the initialization of atomic aggregates with
padding. The changes include:

- During CIRGen, the type `_Atomic(T)` is represented by a CIR struct
`{T, sint8[padding_size]}` if the size of `_Atomic(T)` does not match
the size of `T`. `padding_size` is the difference between the size of
`_Atomic(T)` and `T`.
- CIRGen for the initialization process is updated to handle the
initialization of such CIR struct values.
DeltaFile
+47-0clang/test/CIR/CodeGen/atomic.c
+23-0clang/lib/CIR/CodeGen/CIRGenBuilder.h
+11-6clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
+7-1clang/lib/CIR/CodeGen/CIRGenTypes.cpp
+88-74 files

FreeBSD/ports 770b434. MOVED, www Makefile

www/surge: Remove in favor of ftp/surge

Approved by:    Jimmy Olgeni <olgeni at FreeBSD.org> (via e-mail)
Reported by:    George L. Yermulnik <yz at yz.kiev.ua>
DeltaFile
+0-23www/surge/Makefile
+0-12www/surge/pkg-descr
+0-5www/surge/distinfo
+1-1MOVED
+0-1www/Makefile
+1-425 files

FreeBSD/ports 6bdbc2faudio/sonivox distinfo Makefile

audio/sonivox: update 4.0.0 → 4.0.1
DeltaFile
+3-3audio/sonivox/distinfo
+1-1audio/sonivox/Makefile
+1-1audio/sonivox/pkg-plist
+5-53 files

FreeBSD/ports d35e9damath Makefile, math/py-numdifftools Makefile pkg-descr

math/py-numdifftools: New port: Solver of automatic numerical differentiation problems
DeltaFile
+30-0math/py-numdifftools/Makefile
+5-0math/py-numdifftools/pkg-descr
+3-0math/py-numdifftools/distinfo
+1-0math/Makefile
+39-04 files

OpenBSD/ports 3FxfDmlsysutils/rclone distinfo Makefile

   Update to rclone-1.74.3

   Changes: https://rclone.org/changelog/#v1-74-3-2026-06-05
VersionDeltaFile
1.68+4-4sysutils/rclone/distinfo
1.78+1-1sysutils/rclone/Makefile
+5-52 files

FreeBSD/src d53633bsys/kern vfs_syscalls.c vfs_lookup.c, sys/sys vnode.h

rename(2): do not allow to rename root vnode of the mounted filesystem

Check for tdvp being vp_crossmp.  This cannot happen for the normal
rename cases, but could if the target path specified by the syscall
points to the nullfs mount over the regular file.  In this case namei()
cannot step over crossmp, and keep it in ni_dvp.

Since crossmp VOP_GETWRITEMOUNT() returns NULL mp, we retry the locking
dance since the belief is that NULL return is transient.

PR:     295826
Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57453
DeltaFile
+9-0sys/kern/vfs_syscalls.c
+1-1sys/kern/vfs_lookup.c
+1-0sys/sys/vnode.h
+11-13 files

FreeBSD/src 5d0ebfesys/kern vfs_syscalls.c

renameat(2): when retrying, check for pending signals

The vn_start_write() call there is already interruptible.  Check for
user signals before restarting due to ERELOOKUP, or after failed
vn_start_write().  Note that vn_start_write(V_XSLEEP | V_PCATCH)
does not check for signals if not sleeping.

PR:     295826
Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57453
DeltaFile
+8-2sys/kern/vfs_syscalls.c
+8-21 files

NetBSD/src gDvBj4Msys/arch/sparc64/dev fire_i2c.c

   Use PRI macro instead of type casting.
VersionDeltaFile
1.4+4-4sys/arch/sparc64/dev/fire_i2c.c
+4-41 files

LLVM/project 54ed469clang/include/clang/Basic AtomicLineLogger.h, clang/lib/Basic AtomicLineLogger.cpp CMakeLists.txt

Revert "[clang] Adding an Atomic Line Logger" (#201984)

Reverts llvm/llvm-project#195885

This is causing a build failure on a Windows bot running VS2019:
https://lab.llvm.org/buildbot/#/builders/46/builds/36187
DeltaFile
+0-213clang/unittests/Basic/AtomicLineLoggerTest.cpp
+0-77clang/lib/Basic/AtomicLineLogger.cpp
+0-67clang/include/clang/Basic/AtomicLineLogger.h
+0-1clang/unittests/Basic/CMakeLists.txt
+0-1clang/lib/Basic/CMakeLists.txt
+0-3595 files

NetBSD/pkgsrc bcSY2mRdoc CHANGES-2026

   doc: Updated lang/php84 to 8.4.22
VersionDeltaFile
1.3514+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 5HYJnc9lang/php phpversion.mk, lang/php84 distinfo

   lang/php84: update to 8.4.22

   PHP 8.4.22 (2026-06-04)

   - Date:
     . Fixed bug GH-18422 (int overflow in php_date_llabs). (iliaal)

   - Intl:
     . Fix incorrect argument positions in out-of-bounds errors for
       IntlCalendar::set(), IntlCalendar::setDate(), IntlCalendar::setDateTime(),
       and IntlGregorianCalendar date/time construction. (Weilin Du)
     . Expose Spoofchecker restriction-level APIs on all supported ICU
       versions. (Weilin Du)
     . Fix SpoofChecker::setAllowedChars() and IntlDateFormatter::__construct()
       to report PHP constant names instead of ICU constant names in
       user-visible error messages.
       (Weilin Du)

   - MySQLnd:

    [21 lines not shown]
VersionDeltaFile
1.22+4-4lang/php84/distinfo
1.502+2-2lang/php/phpversion.mk
+6-62 files

LLVM/project d08a2a4clang/lib/StaticAnalyzer/Checkers/WebKit RawPtrRefCallArgsChecker.cpp RawPtrRefLocalVarsChecker.cpp, clang/test/Analysis/Checkers/WebKit unretained-call-args.mm retain-ptr-ctor-adopt-use.mm

[WebKit checkers] Treat the return value of an instance method as an unsafe pointer origin (#160569)
DeltaFile
+23-0clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
+11-0clang/test/Analysis/Checkers/WebKit/retain-ptr-ctor-adopt-use.mm
+8-0clang/test/Analysis/Checkers/WebKit/retain-ptr-ctor-adopt-use-arc.mm
+3-5clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
+4-0clang/test/Analysis/Checkers/WebKit/objc-mock-types.h
+0-4clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
+49-92 files not shown
+54-98 files

NetBSD/pkgsrc MNCK8Djdoc CHANGES-2026

   doc: Updated lang/php85 to 8.5.7
VersionDeltaFile
1.3513+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc smE9Hsolang/php phpversion.mk, lang/php85 distinfo

   lang/php85: update to 8.5.7

   PHP 8.5.7 (2026-06-04)

   - CLI:
     . Fixed bug GH-21901 (Stale getopt() optional value). (onthebed)

   - Date:
     . Fixed bug GH-18422 (int overflow in php_date_llabs). (iliaal)

   - DOM:
     . Fixed bug GH-22077 (UAF in custom XPath function).
       (afflerbach/David Carlier)

   - Opcache:
     . Fixed tracing JIT crash when a VM interrupt is handled during an observed
       user function call. (Levi Morrison)
     . Fixed bug GH-21746 (Segfault with tracing JIT). (Arnaud)
     . Fixed bug GH-22004 (Assertion failure at ext/opcache/jit/zend_jit_trace.c).

    [18 lines not shown]
VersionDeltaFile
1.7+4-4lang/php85/distinfo
1.501+2-2lang/php/phpversion.mk
+6-62 files

LLVM/project 3e2ccf5libcxx/include __config, libcxx/include/__atomic atomic_flag.h

[libc++] Assume that <atomic> is available (#199674)

We always define either `_LIBCPP_HAS_C_ATOMIC_IMP` or
`_LIBCPP_HAS_GCC_ATOMIC_IMP`, so we can remove any special handling of
not having an `<atomic>` header.
DeltaFile
+1-34libcxx/src/memory_resource.cpp
+14-16libcxx/include/__atomic/atomic_flag.h
+0-19libcxx/include/__config
+1-11libcxx/utils/generate_libcxx_cppm_in.py
+1-10libcxx/utils/libcxx/test/modules.py
+0-6libcxx/utils/libcxx/header_information.py
+17-964 files not shown
+21-10810 files

LLVM/project d0e32e4clang/include/clang/Basic AtomicLineLogger.h, clang/lib/Basic AtomicLineLogger.cpp CMakeLists.txt

Revert "[clang] Adding an Atomic Line Logger (#195885)"

This reverts commit d0397a6d7d78888e278823c4d32749f8c896ef9c.
DeltaFile
+0-213clang/unittests/Basic/AtomicLineLoggerTest.cpp
+0-77clang/lib/Basic/AtomicLineLogger.cpp
+0-67clang/include/clang/Basic/AtomicLineLogger.h
+0-1clang/lib/Basic/CMakeLists.txt
+0-1clang/unittests/Basic/CMakeLists.txt
+0-3595 files

FreeBSD/src 9263fb9sys/conf newvers.sh

15.1: Update to RC2

Approved by:    re (implicit)
Sponsored by;   OpenSats Initiative
DeltaFile
+1-1sys/conf/newvers.sh
+1-11 files

FreeBSD/src 56e5998stand/efi/loader bootinfo.c, stand/efi/loader/arch/amd64 elf64_freebsd.c

loader.efi: Fix when staging moves late

Prior to this commit, we'd compute the page tables and have the last
entries point to the staging area. We'd then add some more metadata to
the image and boot. This assumed the staging area didn't need to move
for this last bit of data.

However, if we go over the staging limit, when we copyin new data, we
grow the staging area, usually be moving it to a lower address.  This
overage usually happens when we're loading modules and so things work
out nicely. Sometimes we're close to the limit, and we need to do this
growing inside bi_load, after we've computed the page table, making the
page table wrong, and the code we jump to random rather than the btext
routine we normally start at.

To fix this, move computation of the table (but not its allocation) to
after bi_load, but before we call the trampoline.

This problem was most observed when loading microcode for many peole,

    [21 lines not shown]
DeltaFile
+34-24stand/efi/loader/arch/i386/elf64_freebsd.c
+30-21stand/efi/loader/arch/amd64/elf64_freebsd.c
+17-1stand/efi/loader/bootinfo.c
+81-463 files

FreeBSD/src dd2e9aausr.sbin/bsdinstall/scripts script

bsdinstall: script: Fix scripted DISTRIBUTIONS

Restore exporting DISTRIBUTIONS to make it available to other scripts.

Approved by:    re (cperciva)
Reviewed by:    imp, asomers
Fixes:          dc14ae4217a0 ("bsdinstall: do pkgbase installations with the "script" command")
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D57319

(cherry picked from commit 283959bbe0863917c4fc3200a92d1055a4c89bdc)
(cherry picked from commit 0e3c9cbee4ac735b7c19f3cb719b65f960be0b23)
DeltaFile
+1-0usr.sbin/bsdinstall/scripts/script
+1-01 files

LLVM/project 7389aa2llvm/lib/Frontend/Offloading ArchiveLinker.cpp

[Frontend][Offloading] Fix GCC 7 build error in ArchiveLinker (#201978)

GCC 7 cannot perform implicit move construction when converting
`ResolvedInputs` to `Expected<ResolvedInputs>`.
DeltaFile
+1-1llvm/lib/Frontend/Offloading/ArchiveLinker.cpp
+1-11 files

LLVM/project ea6943cllvm/lib/Target/X86 X86SpeculativeLoadHardening.cpp

[X86] Remove stray :w from a comment. NFC (#201982)
DeltaFile
+0-1llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
+0-11 files

LLVM/project 4113577llvm/utils/TableGen/Common CodeGenRegisters.cpp

[TableGen] Recompute only the affected UberSet when inheriting reg units (#200962)

CodeGenRegBank::computeRegUnitWeights() runs a fixpoint over all registers;
normalizeWeight() calls the global computeUberWeights() -- which rescans
every UberRegSet, every register, and all of their register units -- each time
a register inherits register units from its subregisters.

Most of the time, we do better by just recomputing one register's
UberSet.

On AMDGPU (21266 registers) with this change, the "Compute reg unit
weights" phase drops from 3.19s to 0.70s (4.5x speedup) and
-gen-register-info improves overall from ~16.4s to ~14.0s.
DeltaFile
+41-36llvm/utils/TableGen/Common/CodeGenRegisters.cpp
+41-361 files

LLVM/project f53c19eclang/docs ReleaseNotes.rst, clang/include/clang/Options Options.td

Revert "[clang-cl] Add new option `/pathmap:<from>=<to>` to replace the path prefix <from> with <to>." (#201981)

Reverts llvm/llvm-project#198664

Causes test failures on
[llvm-clang-aarch64-darwin](https://lab.llvm.org/buildbot/#/builders/190)
bot.
DeltaFile
+0-18clang/test/CodeGenCXX/cl-pathmap.cpp
+0-11clang/docs/ReleaseNotes.rst
+0-9clang/test/Preprocessor/cl-pathmap.c
+0-4clang/test/Driver/cl-pathmap.c
+0-2clang/include/clang/Options/Options.td
+0-445 files

FreeBSD/src 95632c9stand/efi/loader bootinfo.c, stand/efi/loader/arch/amd64 elf64_freebsd.c

loader.efi: Fix when staging moves late

Prior to this commit, we'd compute the page tables and have the last
entries point to the staging area. We'd then add some more metadata to
the image and boot. This assumed the staging area didn't need to move
for this last bit of data.

However, if we go over the staging limit, when we copyin new data, we
grow the staging area, usually be moving it to a lower address.  This
overage usually happens when we're loading modules and so things work
out nicely. Sometimes we're close to the limit, and we need to do this
growing inside bi_load, after we've computed the page table, making the
page table wrong, and the code we jump to random rather than the btext
routine we normally start at.

To fix this, move computation of the table (but not its allocation) to
after bi_load, but before we call the trampoline.

This problem was most observed when loading microcode for many peole,

    [19 lines not shown]
DeltaFile
+34-24stand/efi/loader/arch/i386/elf64_freebsd.c
+30-21stand/efi/loader/arch/amd64/elf64_freebsd.c
+17-1stand/efi/loader/bootinfo.c
+81-463 files