LLVM/project 5567572clang-tools-extra/clang-tidy/misc NoRecursionCheck.cpp

[clang-tidy][NFC] Remove optimized container implementations in `misc-no-recursion` (#187630)

About half of this check's code is dedicated to implementing a pair of
set containers with optimizations for when the element count is small.
But the check only uses these containers while constructing the warning
message. That's not generally a hot path in any check. Just to confirm,
I ran the check over `clang/lib/Sema/Sema.cpp` and all its included
headers before and after, and saw no performance difference. So, these
containers seem like a false optimization.
DeltaFile
+6-136clang-tools-extra/clang-tidy/misc/NoRecursionCheck.cpp
+6-1361 files

LLVM/project 6dabcefmlir/lib/Dialect/IRDL IRDLLoading.cpp, mlir/python/mlir/dialects ext.py

[MLIR][IRDL][Python] Fix error while composing `irdl.any_of` and `irdl.base` (#187914)

Previously, while users compose `irdl.any_of` and `irdl.base`, e.g.
```mlir
module {
  irdl.dialect @ext_attr_in_op {
    irdl.operation @op_with_attr {
      %0 = irdl.base "#builtin.integer" 
      %1 = irdl.base "#builtin.string" 
      %2 = irdl.any_of(%0, %1) 
      irdl.attributes {"a" = %2}
    }
  }
}
```

The program will crash due to `llvm_unreachable("unknown IRDL
constraint")`.


    [2 lines not shown]
DeltaFile
+41-0mlir/test/python/dialects/ext.py
+35-0mlir/lib/Dialect/IRDL/IRDLLoading.cpp
+8-19mlir/python/mlir/dialects/ext.py
+84-193 files

NetBSD/src nExyUbEsys/arch/sun2/sun2 locore.s locore2.c, sys/arch/sun3/sun3 locore.s locore2.c

   Move initialization of %dfc and %sfc into _bootstrap() (which will
   eventually itself be re-factored to reduce duplication).  Also, catch
   up with the others: no need to initialize %usp before calling main().
VersionDeltaFile
1.121+1-17sys/arch/sun3/sun3/locore.s
1.48+1-17sys/arch/sun2/sun2/locore.s
1.85+1-17sys/arch/sun3/sun3x/locore.s
1.106+10-2sys/arch/sun3/sun3/locore2.c
1.45+10-2sys/arch/sun3/sun3x/locore2.c
1.31+10-2sys/arch/sun2/sun2/locore2.c
+33-576 files

FreeBSD/src f0d5f46sys/dev/mlx5 driver.h, sys/dev/mlx5/mlx5_core mlx5_cmd.c

mlx5: postpone freeing the completed command entity to taskqueue

because cancel_delayed_work_sync() might need to sleep, which cannot be
done in the interrupt thread where the completion runs.

Sponsored by:   Nvidia networking
MFC after:      1 week
DeltaFile
+11-1sys/dev/mlx5/mlx5_core/mlx5_cmd.c
+1-0sys/dev/mlx5/driver.h
+12-12 files

HardenedBSD/ports db3ea15cad/silice pkg-plist, math/clingo distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+76-0security/sudo-rs/files/sudoers.in
+0-73security/sudo-rs/files/sudoers
+41-19misc/ollama/Makefile
+44-7cad/silice/pkg-plist
+38-0net/unfs3/files/patch-Makefile.in
+17-15math/clingo/distinfo
+216-11441 files not shown
+440-29647 files

LLVM/project 7482655clang/lib/AST TemplateBase.cpp

[clang] On Windows, silence warning when building with MSVC (#187937)

This fixes:
```
[2124/7029] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\TemplateBase.cpp.obj
C:\git\llvm-project\clang\lib\AST\TemplateBase.cpp(753): warning C4312: 'reinterpret_cast': conversion from 'clang::SourceLocation::UIntTy' to 'clang::TemplateArgumentLocInfo::LocOrPointer' of greater size
```
DeltaFile
+2-2clang/lib/AST/TemplateBase.cpp
+2-21 files

NetBSD/pkgsrc A0XA1Vddoc TODO CHANGES-2026

   doc: Updated textproc/git-delta to 0.19.1
VersionDeltaFile
1.26958+1-2doc/TODO
1.1820+2-1doc/CHANGES-2026
+3-32 files

NetBSD/pkgsrc-wip c0356f2tangled-git distinfo go-modules.mk

tangled-git: update go modules
DeltaFile
+219-66tangled-git/distinfo
+73-22tangled-git/go-modules.mk
+292-882 files

HardenedBSD/ports e3b5d27audio/liquidsfz Makefile distinfo

audio/liquidsfz: update 0.3.2 → 0.4.0
DeltaFile
+8-4audio/liquidsfz/Makefile
+5-3audio/liquidsfz/distinfo
+13-72 files

FreeBSD/ports e3b5d27audio/liquidsfz Makefile distinfo

audio/liquidsfz: update 0.3.2 → 0.4.0
DeltaFile
+8-4audio/liquidsfz/Makefile
+5-3audio/liquidsfz/distinfo
+13-72 files

LLVM/project e1286d9mlir/lib/Bytecode/Writer BytecodeWriter.cpp

[mlir] Deterministic containers in BytecodeWriter (#187819)

Iteration over use lists in writeUseListOrders is non-deterministic as a
result of using a DenseMap. Replacing with a Vector-backed `MapVector`
restores deterministic behaviour.
DeltaFile
+2-5mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
+2-51 files

OpenBSD/src OWK9FRJsys/netinet in.c igmp.c, sys/netinet6 in6.c mld6.c

   Protect IGMP and MLD6 fast timer with rwlock.

   Multicast interface addresses for IPv4 and IPv6 get their own per
   interface lock.  Protect the TAILQ if_maddrlist with rwlock
   if_maddrlock.  Also struct in_multi and in6_multi use this lock for
   their state and timer.  Sleeps in malloc(9) are possible.  Run IGMP
   and MLD6 fast timeout with shared instead of exclusive net lock.

   To prevent calling ip_output() or ip6_output() while holding the
   multicast lock, delay igmp_sendpkt() and mld6_sendpkt().  All
   information that is needed to create and send a multicast packet
   is stored in igmp_pktinfo or mld6_pktinfo.  If necessary, multiple
   pktinfo are queued.  After the lock has been released, packes are
   sent based on pktinfo.

   OK mvs@
VersionDeltaFile
1.279+65-55sys/netinet6/in6.c
1.194+61-46sys/netinet/in.c
1.74+59-33sys/netinet6/mld6.c
1.97+20-9sys/netinet/igmp.c
1.85+10-4sys/netinet6/in6_var.h
1.47+10-4sys/netinet/in_var.h
+225-1512 files not shown
+234-1578 files

HardenedBSD/ports 281272bmath Makefile, math/R-cran-ankiR Makefile pkg-descr

math/R-cran-ankiR: New port: Read and Analyze Anki Flashcard Databases

Differential Revision:  https://reviews.freebsd.org/D56036
DeltaFile
+21-0math/R-cran-ankiR/Makefile
+9-0math/R-cran-ankiR/pkg-descr
+3-0math/R-cran-ankiR/distinfo
+1-0math/Makefile
+34-04 files

FreeBSD/ports 281272bmath Makefile, math/R-cran-ankiR Makefile pkg-descr

math/R-cran-ankiR: New port: Read and Analyze Anki Flashcard Databases

Differential Revision:  https://reviews.freebsd.org/D56036
DeltaFile
+21-0math/R-cran-ankiR/Makefile
+9-0math/R-cran-ankiR/pkg-descr
+3-0math/R-cran-ankiR/distinfo
+1-0math/Makefile
+34-04 files

HardenedBSD/ports 8a85b1fdevel/p5-TimeDate Makefile

devel/p5-TimeDate: Limit portscout to stable versions

Port changes:
- Add PORTSCOUT to stay with stable versions only

PR:             293723
Reported by:    Sergei Vyshenski <svysh.fbsd at gmail.com> (maintainer)
Approved by:    maintainer, osa (mentor)
DeltaFile
+2-0devel/p5-TimeDate/Makefile
+2-01 files

FreeBSD/ports 8a85b1fdevel/p5-TimeDate Makefile

devel/p5-TimeDate: Limit portscout to stable versions

Port changes:
- Add PORTSCOUT to stay with stable versions only

PR:             293723
Reported by:    Sergei Vyshenski <svysh.fbsd at gmail.com> (maintainer)
Approved by:    maintainer, osa (mentor)
DeltaFile
+2-0devel/p5-TimeDate/Makefile
+2-01 files

HardenedBSD/ports 007a42ceditors/elementary-code distinfo pkg-plist

editors/elementary-code: Update to 8.2.0

Changelog:
https://github.com/elementary/code/releases/tag/8.2.0

PR:             293864
Reported by:    Olivier Duchateau <duchateau.olivier at gmail.com>
Approved by:    Miguel Gocobachi <miguel at gocobachi.dev> (maintainer)
Approved by:    osa (mentor)
DeltaFile
+3-3editors/elementary-code/distinfo
+2-0editors/elementary-code/pkg-plist
+1-1editors/elementary-code/Makefile
+6-43 files

FreeBSD/ports 007a42ceditors/elementary-code distinfo pkg-plist

editors/elementary-code: Update to 8.2.0

Changelog:
https://github.com/elementary/code/releases/tag/8.2.0

PR:             293864
Reported by:    Olivier Duchateau <duchateau.olivier at gmail.com>
Approved by:    Miguel Gocobachi <miguel at gocobachi.dev> (maintainer)
Approved by:    osa (mentor)
DeltaFile
+3-3editors/elementary-code/distinfo
+2-0editors/elementary-code/pkg-plist
+1-1editors/elementary-code/Makefile
+6-43 files

NetBSD/src wpRdCnrsys/arch/virt68k/virt68k locore.s

   paravirt_membar_sync(): "moveq #0,%d0" is faster on real hardware than
   "clrl %d0", and may be faster in some emulators, too, so use that.
VersionDeltaFile
1.43+2-2sys/arch/virt68k/virt68k/locore.s
+2-21 files

OpenBSD/ports bp12qd5www/newsboat distinfo crates.inc, www/newsboat/patches patch-include_strprintf_h

   Update newsboat to 2.43.
VersionDeltaFile
1.39+214-200www/newsboat/distinfo
1.20+106-99www/newsboat/crates.inc
1.3+3-3www/newsboat/patches/patch-include_strprintf_h
1.54+1-1www/newsboat/Makefile
+324-3034 files

FreeBSD/ports 4424c6cnet/unfs3/files patch-Makefile.in patch-configure.ac

net/unfs3: update 0.9.23 -> 0.11.0 and take maintainership

Changelog:
    https://github.com/unfs3/unfs3/releases/tag/unfs3-0.10.0
    https://github.com/unfs3/unfs3/releases/tag/unfs3-0.11.0
DeltaFile
+38-0net/unfs3/files/patch-Makefile.in
+15-14net/unfs3/files/patch-configure.ac
+0-29net/unfs3/files/patch-fh.c
+0-19net/unfs3/files/patch-md5.c
+0-11net/unfs3/files/patch-nfs.c
+0-11net/unfs3/files/patch-attr.c
+53-844 files not shown
+78-9210 files

HardenedBSD/ports 5e87f3email/spampd Makefile distinfo

mail/spampd: update 2.62 -> 2.63 and take maintenership

Changelog:
    https://github.com/mpaperno/spampd/releases/tag/2.63

Also reorder the Makefile to make portclipy happy.
DeltaFile
+11-10mail/spampd/Makefile
+3-3mail/spampd/distinfo
+14-132 files

FreeBSD/ports 5e87f3email/spampd Makefile distinfo

mail/spampd: update 2.62 -> 2.63 and take maintenership

Changelog:
    https://github.com/mpaperno/spampd/releases/tag/2.63

Also reorder the Makefile to make portclipy happy.
DeltaFile
+11-10mail/spampd/Makefile
+3-3mail/spampd/distinfo
+14-132 files

HardenedBSD/ports 4424c6cnet/unfs3/files patch-Makefile.in patch-configure.ac

net/unfs3: update 0.9.23 -> 0.11.0 and take maintainership

Changelog:
    https://github.com/unfs3/unfs3/releases/tag/unfs3-0.10.0
    https://github.com/unfs3/unfs3/releases/tag/unfs3-0.11.0
DeltaFile
+38-0net/unfs3/files/patch-Makefile.in
+15-14net/unfs3/files/patch-configure.ac
+0-29net/unfs3/files/patch-fh.c
+0-19net/unfs3/files/patch-md5.c
+0-11net/unfs3/files/patch-attr.c
+0-11net/unfs3/files/patch-nfs.c
+53-844 files not shown
+78-9210 files

LLVM/project 98f84f9clang-tools-extra/clangd CodeComplete.cpp, clang-tools-extra/clangd/unittests CodeCompleteTests.cpp

[clangd] Code completion for declaration of class method (#165916)

Code completion previously could not tell apart the declaration of
a method from a call to it, and provided call-like behaviour even
in declaration contexts. This included things like not offering 
completion for private methods, and inserting placeholders for
the parameters as though the user was going to fill in arguments.

This patch adds support to Parser and SemaCodeComplete to
detect and provide dedicated behaviour for declaration contexts.
In these contexts, the flag CodeCompletionResult::DeclaringEntity
is set, and createCodeCompletionString() is adjusted to handle this
flag, e.g. by inserting parameter declarations as text chunks rather
than placeholder chunks.

The DeclaringEntity flag is also available for consumers of
SemaCodeComplete, such as clangd, to customize their behaviour.

In addition, the patch tweaks the conditions under which the

    [6 lines not shown]
DeltaFile
+159-55clang/lib/Sema/SemaCodeComplete.cpp
+118-19clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
+40-2clang/include/clang/Parse/Parser.h
+6-4clang/lib/Parse/Parser.cpp
+6-4clang-tools-extra/clangd/CodeComplete.cpp
+6-3clang/include/clang/Sema/SemaCodeCompletion.h
+335-876 files not shown
+350-9812 files

FreeBSD/ports 4bd6946audio/subtui distinfo Makefile

audio/subtui: Update to 2.13.0

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

HardenedBSD/ports 4bd6946audio/subtui distinfo Makefile

audio/subtui: Update to 2.13.0

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

NetBSD/src L9yT8Bjsys/arch/cesfic/cesfic locore.s, sys/arch/hp300/hp300 locore.s

   For many many years now, it has been unnecessary to initialize the user
   stack pointer before calling main().  TL;DR - %usp comes from the exception
   frame and is restored in the syscall stub (always) or rei (if an AST is
   pending).  For newly-forked processes, those take the non-AST path through
   rei, but lwp_trampoline() takes care of it in that case.
VersionDeltaFile
1.160+1-5sys/arch/mvme68k/mvme68k/locore.s
1.108+1-5sys/arch/news68k/news68k/locore.s
1.42+1-5sys/arch/virt68k/virt68k/locore.s
1.155+1-5sys/arch/x68k/x68k/locore.s
1.64+1-5sys/arch/cesfic/cesfic/locore.s
1.211+1-5sys/arch/hp300/hp300/locore.s
+6-302 files not shown
+8-408 files

FreeBSD/ports 7450af9security/sudo-rs distinfo Makefile, security/sudo-rs/files sudoers.in sudoers

security/sudo-rs: Update 0.2.12 => 0.2.13

Changelog:
- Password now gets echoed by default, see sudoers file to revert
https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.13

Port changes:
- Replace hardcoded /usr/local with %%PREFIX%% in files/sudoers.
- Use absolute path for "@includedir ..." in files/sudoers.

PR:             293735
Reported by:    Valdemar Erk <valdemar at erk.dev>
Approved by:    Marc Schoolderman <marc at trifectatech.org> (maintainer)
Approved by:    osa@ (mentor)
DeltaFile
+76-0security/sudo-rs/files/sudoers.in
+0-73security/sudo-rs/files/sudoers
+14-0security/sudo-rs/files/patch-src_pam_rpassword.rs
+5-5security/sudo-rs/distinfo
+4-2security/sudo-rs/Makefile
+1-1security/sudo-rs/Makefile.crates
+100-816 files

HardenedBSD/ports 7450af9security/sudo-rs distinfo Makefile, security/sudo-rs/files sudoers.in sudoers

security/sudo-rs: Update 0.2.12 => 0.2.13

Changelog:
- Password now gets echoed by default, see sudoers file to revert
https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.13

Port changes:
- Replace hardcoded /usr/local with %%PREFIX%% in files/sudoers.
- Use absolute path for "@includedir ..." in files/sudoers.

PR:             293735
Reported by:    Valdemar Erk <valdemar at erk.dev>
Approved by:    Marc Schoolderman <marc at trifectatech.org> (maintainer)
Approved by:    osa@ (mentor)
DeltaFile
+76-0security/sudo-rs/files/sudoers.in
+0-73security/sudo-rs/files/sudoers
+14-0security/sudo-rs/files/patch-src_pam_rpassword.rs
+5-5security/sudo-rs/distinfo
+4-2security/sudo-rs/Makefile
+1-1security/sudo-rs/Makefile.crates
+100-816 files