LLVM/project 573c0beclang/include/clang/Tooling/Inclusions HeaderIncludes.h, clang/lib/Tooling/Inclusions HeaderIncludes.cpp

[clang][Tooling] Insert global module fragment during header insertion (#173724)

This patch makes `HeaderIncludes` to also insert a global module
fragment declaration (`module;`) when inserting a header when all of the
following conditions are met:

- The source file is a module unit;
- No tokens excluding comments and whitespaces exist before the module
declaration.

This patch detects the conditions by checking whether the first
declaration in the source file is a module declaration.
DeltaFile
+66-10clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
+60-0clang/unittests/Tooling/HeaderIncludesTest.cpp
+3-0clang/include/clang/Tooling/Inclusions/HeaderIncludes.h
+129-103 files

LLVM/project 5a5262dclang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets namespace-template.mustache

[clang-doc] Serialize an `Anonymous` JSON field for enums and records

Serializing an `Anonymous` field allows them to be excluded from the
HTML sidebar. Before, there would be several empty spaces in the sidebar
for anonymous enums. This patch also allows the same for anonymous
records, but since they're a GNU extension we don't handle them
explicitly yet.
DeltaFile
+34-0clang-tools-extra/test/clang-doc/enum.cpp
+6-0clang-tools-extra/clang-doc/JSONGenerator.cpp
+4-0clang-tools-extra/clang-doc/assets/namespace-template.mustache
+44-03 files

FreeBSD/src 3642ba2sys/x86/cpufreq hwpstate_amd.c

hwpstate_amd: Fix compile error

Add parentheses between OR and AND operator to pass the compiler check.

Approved by:    lwhsu (mentor)
Fixes:  3e6e4e4a0d42 ("hwpstate: add CPPC support for pstate driver on AMD")
MFC aftert:     2 weeks
Differential Revision: https://reviews.freebsd.org/D54465
DeltaFile
+1-1sys/x86/cpufreq/hwpstate_amd.c
+1-11 files

LLVM/project 4ff264dllvm/include/llvm/ADT ScopeExit.h

[LLVM][ADT] Deprecate `make_scope_exit` in favour of CTAD (#174109)

DeltaFile
+6-1llvm/include/llvm/ADT/ScopeExit.h
+6-11 files

FreeBSD/ports eae444adevel/rubygem-gitlab_query_language Makefile

devel/rubygem-gitlab_query_language: fixed fetch issue

Reported by:    vvd@
DeltaFile
+1-0devel/rubygem-gitlab_query_language/Makefile
+1-01 files

FreeBSD/ports fe7f47eeditors/vscode Makefile, editors/vscode/files product.json.extensions

editors/vscode: Update product.json for latest extensions

Obtained from:  https://github.com/VSCodium/vscodium/blob/1.107.18627/product.json
DeltaFile
+14-7editors/vscode/files/product.json.extensions
+1-1editors/vscode/Makefile
+15-82 files

LLVM/project c438773clang/lib/Analysis ThreadSafetyCommon.cpp, lldb/source/Plugins/Platform/Windows PlatformWindows.cpp

[LLVM][ADT] Migrate users of `make_scope_exit` to CTAD (#174030)

This is a followup to #173131, which introduced the CTAD functionality.
DeltaFile
+11-11llvm/lib/Analysis/LazyCallGraph.cpp
+9-10lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
+7-8llvm/unittests/Support/MemoryBufferTest.cpp
+7-7clang/lib/Analysis/ThreadSafetyCommon.cpp
+6-6llvm/lib/CAS/UnifiedOnDiskCache.cpp
+5-6mlir/lib/Bytecode/Reader/BytecodeReader.cpp
+45-48153 files not shown
+272-301159 files

OpenBSD/ports gdiZIPbdevel/p5-EV Makefile, devel/p5-EV/patches patch-typemap

   Use LEONT's patch to support ExtUtils::ParseXS 3.57

   The upstream changes don't quite solve the problem with the more
   strict ExtUtils::ParseXS but fortunately folks on p5p (Leon Timmermans)
   figured out a patch that would work and we can use it instead.

   https://rt.cpan.org/Public/Bug/Display.html?id=156069
   https://github.com/Perl/perl5/issues/22353#issuecomment-2907796786

   Reported by anton@
   OK and help from bluhm@
VersionDeltaFile
1.3+14-8devel/p5-EV/patches/patch-typemap
1.26+1-0devel/p5-EV/Makefile
+15-82 files

NetBSD/pkgsrc HxQdW0kgames/xfrisk distinfo, games/xfrisk/patches patch-aiClientMain.c patch-aiStubs.c

   games/xfrisk: fix build with gcc14
VersionDeltaFile
1.1+24-0games/xfrisk/patches/patch-aiClientMain.c
1.1+14-0games/xfrisk/patches/patch-aiStubs.c
1.15+3-1games/xfrisk/distinfo
+41-13 files

NetBSD/pkgsrc KACxy2Jdoc CHANGES-2026

   CHANGES for lang/kaffe fixes
VersionDeltaFile
1.38+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc zAVxf4dgraphics/libv4l Makefile

   graphics/libv4l: disable doxygen explicitly
VersionDeltaFile
1.28+2-1graphics/libv4l/Makefile
+2-11 files

NetBSD/pkgsrc DgdBaEslang/kaffe distinfo Makefile, lang/kaffe/patches patch-kaffe-kaffevm-stringParsing.c patch-kaffe-kaffevm-intrp-methodcalls.c

   lang/kaffe: fix build with gcc14

   Bump PKGREVISION (to 9) because the va_list abuse fixes materially
   change the code.
VersionDeltaFile
1.1+304-0lang/kaffe/patches/patch-kaffe-kaffevm-stringParsing.c
1.1+23-0lang/kaffe/patches/patch-kaffe-kaffevm-intrp-methodcalls.c
1.1+15-0lang/kaffe/patches/patch-kaffe-kaffevm-exception.c
1.39+4-1lang/kaffe/distinfo
1.79+2-2lang/kaffe/Makefile
+348-35 files

NetBSD/pkgsrc 47G0uGYprint/ghostscript-gpl distinfo, print/ghostscript-gpl/patches patch-psi-zgstate.c patch-contrib-gdevlx32.c

   print/ghostscript-gpl: fix build with gcc14
VersionDeltaFile
1.1+58-0print/ghostscript-gpl/patches/patch-psi-zgstate.c
1.1+25-0print/ghostscript-gpl/patches/patch-contrib-gdevlx32.c
1.1+24-0print/ghostscript-gpl/patches/patch-contrib-pcl3-src-gdevpcl3.c
1.1+17-0print/ghostscript-gpl/patches/patch-base_rinkj-rinkj--screen--eb.c
1.26+5-2print/ghostscript-gpl/distinfo
+129-25 files

NetBSD/pkgsrc 2v36mtJx11/qt5-qtwebengine distinfo, x11/qt5-qtwebengine/patches patch-src_3rdparty_chromium_third__party_blink_renderer_platform_text_text__break__iterator.cc

   x11/qt5-qtwebengine: Support ICU 78.1
VersionDeltaFile
1.3+10-10x11/qt5-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_text_text__break__iterator.cc
1.36+2-1x11/qt5-qtwebengine/distinfo
+12-112 files

NetBSD/pkgsrc TforGLTlang/clisp distinfo, lang/clisp/patches patch-modules-syscalls-calls.c patch-src-malloc-gmalloc.c

   lang/clisp: fix gcc14 build

   Use the right grade of baling wire to match the chewing gum flavor.
VersionDeltaFile
1.1+26-0lang/clisp/patches/patch-modules-syscalls-calls.c
1.1+16-0lang/clisp/patches/patch-src-malloc-gmalloc.c
1.44+3-1lang/clisp/distinfo
+45-13 files

FreeNAS/freenas 976cbd4src/middlewared/debian control

Fix
DeltaFile
+0-2src/middlewared/debian/control
+0-21 files

FreeNAS/freenas 8ba8e9bsrc/middlewared/middlewared/plugins auth.py

Fix
DeltaFile
+1-1src/middlewared/middlewared/plugins/auth.py
+1-11 files

FreeBSD/src 2e92aeesys/net if_bridge.c

bridge: Allow BRDGSIFVLANSET without IFBRF_VLANFILTER

Currently, we disallow BRDGSIFVLANSET when IFBRF_VLANFILTER is disabled.
There's no particular reason to do this, and it causes some undesirable
behaviour such as not being able to remove the tagged config on a member
after disabling vlanfilter on the bridge.

Remove the restriction so BRDGSIFVLANSET is always accepted.

PR:     292019
MFC after:      1 week
Reviewed by:    zlei, p.mousavizadeh_protonmail.com
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D54435
DeltaFile
+0-3sys/net/if_bridge.c
+0-31 files

FreeBSD/src 3e6e4e4sys/x86/cpufreq hwpstate_amd.c, sys/x86/include specialreg.h

hwpstate: add CPPC support for pstate driver on AMD

Implement CPPC interface for AMD Pstate Driver.
This feature is only enabled when the CPUID shows it support CPPC.

The CPPC is implemneted by the following steps:

1. Write MSR to enable it.
2. Read capability registert which indicates binary value of levels
about lowest, best energy efficient, guarantee, and max performance.
3. Write request register with epp in energy balanced mode. And let
CPU and firmware to enter autonomous mode.

Also, create a sysctl handler to allow userspace to change epp value.
In intel's hwpstate, The epp value can be in package level and core level.
However, in AMD's one, there is only core level. Thus, to sync with the
intel's code, we implement package level control in software and provide
another sysctl (machdep.hwpstate_pkg_ctrl) to control it.


    [5 lines not shown]
DeltaFile
+336-25sys/x86/cpufreq/hwpstate_amd.c
+1-0sys/x86/include/specialreg.h
+337-252 files

LLVM/project 376beddlibcxx/include optional, libcxx/test/std/utilities/optional/optional.object/optional.object.ctor in_place_t.pass.cpp

[libc++] Fix constraints for `optional`'s constructors taking `in_place_t` and related `make_optional` overloads (#173467)

Some constraints are incorrect for constructors of `optional<T&>`:
- for the `(in_place_t, Arg&&)` constructor, it should be more
constrained to reject dangling references;
- for the `(in_place_t, initializer_list<U>, Args&&...)` constructor, it
shouldn't be available for `optional<T&>` at all.

For `make_optional` overloads, the standard wording already required
them to propagate SFINAE constraints before LWG3627 (via "_Effects_:
Equivalent to", see also [structure.specifications]/4). So they need to
be constrained.

Drive-by: Refactor test files to run more cases during constant
evaluation.
DeltaFile
+78-32libcxx/test/std/utilities/optional/optional.specalg/make_optional_explicit.pass.cpp
+46-13libcxx/test/std/utilities/optional/optional.specalg/make_optional_explicit_initializer_list.pass.cpp
+34-6libcxx/include/optional
+32-1libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp
+190-524 files

LLVM/project ec7b637libcxx/include chrono, libcxx/include/__chrono year_month_weekday.h weekday.h

[libc++][chrono] P2592R3: Hashing for chrono (#165132)

DeltaFile
+95-0libcxx/test/std/time/time.hash/time.hash_enabled.pass.cpp
+43-0libcxx/include/chrono
+26-0libcxx/include/__chrono/year_month_weekday.h
+25-0libcxx/include/__chrono/weekday.h
+23-0libcxx/include/__chrono/year_month_day.h
+22-0libcxx/include/__chrono/month_weekday.h
+234-014 files not shown
+370-120 files

FreeBSD/ports f40fd48lang/jpm Makefile

lang/jpm: Add runtime dependencies

- Change maintainer email address
- Add janet as runtime dependency since jpm is just a script that uses
  janet executable.
- Add git since "jmp deps" requires it

Reviewed by:    David Marker <dave at freedave.net>
Differential Revision:  https://reviews.freebsd.org/D54185
DeltaFile
+4-1lang/jpm/Makefile
+4-11 files

FreeBSD/ports 707b686x11/conlecterm distinfo Makefile

x11/conlecterm: Update to 2.3.2.0

Differential Revision:  https://reviews.freebsd.org/D54449
DeltaFile
+79-75x11/conlecterm/distinfo
+38-35x11/conlecterm/Makefile
+117-1102 files

FreeBSD/ports 79759c4sysutils/go-wtf distinfo Makefile, sysutils/go-wtf/files patch-modules_todo_display.go

sysutils/go-wtf: Update to 0.48.0

- Update maintainer address
- Also adds a patch for todo module cursor highlight:
  https://github.com/wtfutil/wtf/issues/1807

Differential Revision:  https://reviews.freebsd.org/D54416
DeltaFile
+24-0sysutils/go-wtf/files/patch-modules_todo_display.go
+5-5sysutils/go-wtf/distinfo
+2-2sysutils/go-wtf/Makefile
+31-73 files

LLVM/project e9b2b21clang/lib/Analysis UnsafeBufferUsage.cpp, clang/test/SemaCXX warn-unsafe-buffer-usage-libc-functions.cpp

[-Wunsafe-buffer-usage] Fix a false negative introduced in #173096 (#174253)

A downstream test recovers a false negative introduced in #173096, where
it changed the use of variable `FmtArgIdx` to `FmtArgStartingIdx`. The
two variables are different in that `FmtArgIdx` refers to the index of
the format string and `FmtArgStartingIdx` refers to the index of the
first format argument. The consequence is that the analysis will miss
reporting an unsafe format string.

This fix also upstreams the test catching the FN.
DeltaFile
+2-0clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
+1-1clang/lib/Analysis/UnsafeBufferUsage.cpp
+3-12 files

NetBSD/pkgsrc-wip 42b5c9cfreerdp3 PLIST options.mk, freerdp3/patches patch-winpr_libwinpr_sysinfo_sysinfo.c patch-client_Wayland_wlf__input.c

freerdp3: attempt at update of freerdp to 3.19.0

Doesn't currently build as needs a replacement for sysinfo(), specifically the
uptime field, on NetBSD.
DeltaFile
+366-0freerdp3/PLIST
+72-0freerdp3/options.mk
+71-0freerdp3/Makefile
+35-0freerdp3/patches/patch-winpr_libwinpr_sysinfo_sysinfo.c
+24-0freerdp3/patches/patch-client_Wayland_wlf__input.c
+24-0freerdp3/patches/patch-channels_rdpdr_client_rdpdr__main.c
+592-08 files not shown
+678-014 files

FreeNAS/freenas 5d4826asrc/middlewared/middlewared/plugins/apps/ix_apps query.py

Flake8 fix
DeltaFile
+3-1src/middlewared/middlewared/plugins/apps/ix_apps/query.py
+3-11 files

FreeNAS/freenas 9e320f4src/middlewared/middlewared/plugins/apps/ix_apps query.py

Avoid crashing in apps.query

This commit handles FileNotFoundError on app query when ix-apps
dataset is unmounted. Although this is an unexpected situation,
the broad failures caused by attachment failures prevents admins
from easily recovering.
DeltaFile
+26-21src/middlewared/middlewared/plugins/apps/ix_apps/query.py
+26-211 files

FreeBSD/ports ccc35a9www/squid Makefile, www/squid/files patch-configure

www/squid: Fix recognise GSSAPI_BASE on 14.3

PR:     292098
DeltaFile
+84-4www/squid/files/patch-configure
+1-0www/squid/Makefile
+85-42 files

HardenedBSD/src 93f0af4. Makefile.inc1, share/man/man4 jedec_dimm.4 smbus.4

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+5-1share/man/man4/jedec_dimm.4
+2-1share/man/man4/smbus.4
+2-1share/mk/bsd.sys.mk
+1-1Makefile.inc1
+10-44 files