LLVM/project f3b7710clang/lib/Format UnwrappedLineParser.cpp, clang/unittests/Format TokenAnnotatorTest.cpp

[clang-format] Correctly annotate C compound literal braces (#173771)

Fixes https://github.com/llvm/llvm-project/issues/173583

clang-format mis-formats C compound literals used in macro bodies, e.g.
`#define getAddr(v, type) &(type){v}`, treating `{...}` as a
block/function body
and reflowing the macro with backslashes and spaces.

This change:
- Recognizes `&( ... ){ ... }` patterns in macro bodies and marks the
brace as a braced-init.
- Improves parsing stability for braced lists in macro bodies.

Tests:
- FormatTests

---------

Co-authored-by: owenca <owenpiano at gmail.com>
DeltaFile
+4-0clang/unittests/Format/TokenAnnotatorTest.cpp
+3-0clang/lib/Format/UnwrappedLineParser.cpp
+7-02 files

LLVM/project 3647dd3mlir/lib/Bindings/Python ExecutionEngineModule.cpp

add ExecutionEngineModule.cpp
DeltaFile
+13-6mlir/lib/Bindings/Python/ExecutionEngineModule.cpp
+13-61 files

LLVM/project f18b5f7mlir/lib/Bindings/Python DialectLinalg.cpp, mlir/test/python/lib PythonTestModuleNanobind.cpp

[mlir][Python] fix linalg and python_test dialect extensions
DeltaFile
+19-23mlir/test/python/lib/PythonTestModuleNanobind.cpp
+6-5mlir/lib/Bindings/Python/DialectLinalg.cpp
+25-282 files

FreeBSD/ports ed98e77textproc/csvlens distinfo Makefile

textproc/csvlens: Update to 0.15.1

Changelog: https://github.com/YS-L/csvlens/blob/v0.15.1/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+3-3textproc/csvlens/distinfo
+1-1textproc/csvlens/Makefile
+4-42 files

NetBSD/src SWwrLJbdoc CHANGES.prev

   CHANGES.prev: note big-endian support of vchiq and vcaudio on evbarm
VersionDeltaFile
1.188+3-1doc/CHANGES.prev
+3-11 files

LLVM/project 4f90ce4clang/lib/Format UnwrappedLineParser.cpp

[clang-format][NFC] Minor cleanups of RemoveParentheses
DeltaFile
+7-8clang/lib/Format/UnwrappedLineParser.cpp
+7-81 files

NetBSD/src y41MMrgdoc CHANGES.prev CHANGES

   CHANGES: move changes pulled up to netbsd-11 to CHANGES.prev.
VersionDeltaFile
1.187+20-2doc/CHANGES.prev
1.3212+1-20doc/CHANGES
+21-222 files

FreeBSD/ports 54b8070textproc/qo Makefile

textproc/qo: Mark BROKEN on i386

vendor/modernc.org/libc/libc_freebsd.go:247:25: cannot use int64(off) (value of type int64) as int32 value in assignment
vendor/modernc.org/libc/libc_freebsd.go:269:50: cannot use int64(off) (value of type int64) as int32 value in assignment
vendor/modernc.org/libc/libc_freebsd.go:1638:17: invalid operation: Uint64(Uint64FromInt32(-1)) / uint64(255) * size_t(c) (mismatched types uint64 and size_t)
vendor/modernc.org/libc/libc_freebsd.go:1639:192: invalid operation: *(*uint64)(unsafe.Pointer(w)) ^ k (mismatched types uint64 and size_t)
vendor/modernc.org/libc/libc_freebsd.go:1658:42: cannot use &l1 (value of type *size_t) as *uint64 value in argument to AssignUint64
vendor/modernc.org/libc/libc_freebsd.go:1658:47: cannot use size_t((int64(X__strchrnul(tls, var1, '=')) - int64(var1)) / 1) (value of uint32 type size_t) as uint64 value in argument to AssignUint64
vendor/modernc.org/libc/libc_freebsd.go:1667:19: invalid operation: l1 + l2 + uint64(2) (mismatched types size_t and uint64)
vendor/modernc.org/libc/libc_freebsd.go:1673:48: invalid operation: l2 + uint64(1) (mismatched types size_t and uint64)
vendor/modernc.org/libc/libc_freebsd.go:1686:6: cannot use uint64(0) (constant 0 of type uint64) as size_t value in assignment
vendor/modernc.org/libc/libc_freebsd.go:1696:57: invalid operation: l + uint64(1) (mismatched types size_t and uint64)
vendor/modernc.org/libc/libc_freebsd.go:1696:57: too many errors
DeltaFile
+2-0textproc/qo/Makefile
+2-01 files

LLVM/project 884ebd1mlir/lib/Bindings/Python DialectLinalg.cpp, mlir/test/python/lib PythonTestModuleNanobind.cpp

[mlir][Python] fix linalg and python_test dialect extensions
DeltaFile
+19-23mlir/test/python/lib/PythonTestModuleNanobind.cpp
+2-1mlir/lib/Bindings/Python/DialectLinalg.cpp
+21-242 files

LLVM/project 3c47ce6mlir/lib/Bindings/Python DialectLinalg.cpp

[mlir][Python] fix linalg dialect extension
DeltaFile
+78-53mlir/lib/Bindings/Python/DialectLinalg.cpp
+78-531 files

LLVM/project 9b03a3cmlir/lib/Bindings/Python DialectLinalg.cpp, mlir/python CMakeLists.txt

[mlir][Python] generate type stubs for dialect extensions
DeltaFile
+79-53mlir/lib/Bindings/Python/DialectLinalg.cpp
+19-23mlir/test/python/lib/PythonTestModuleNanobind.cpp
+21-3mlir/python/CMakeLists.txt
+119-793 files

FreeBSD/src 9fed072share/mk bsd.man.mk

bsd.man.mk simplify staging

We actually only need the high level targets stage_files and stage_links
meta.stage.mk will take care of the details.
DeltaFile
+2-2share/mk/bsd.man.mk
+2-21 files

LLVM/project 3fc1b6dmlir/lib/Bindings/Python DialectLinalg.cpp, mlir/python CMakeLists.txt

[mlir][Python] generate type stubs for dialect extensions
DeltaFile
+69-50mlir/lib/Bindings/Python/DialectLinalg.cpp
+19-23mlir/test/python/lib/PythonTestModuleNanobind.cpp
+21-3mlir/python/CMakeLists.txt
+109-763 files

FreeBSD/src 9cd89fcshare/mk bsd.man.mk

bsd.man.mk fix staging

The STAGE_SETS and STAGE_TARGETS need to match
STAGE_DIR.

For each STAGE_SET we have STAGE_DIR.${STAGE_SET}
and create a target stage_files.${STAGE_SET},
the settings all need to be self consistent to work.
DeltaFile
+2-2share/mk/bsd.man.mk
+2-21 files

FreeBSD/src 68562f8sbin/newfs newfs.8 newfs.c

newfs: Add an option to disable soft updates

A previous commit turned soft updates on by default for UFS2 without
providing a way to turn them off.  This corrects that by adding a new -u
flag which forces soft updates (and soft updates journaling) off.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Fixes:          61dece6d27fb ("Enable soft updates by default for UFS2 filesystems.")
Reviewed by:    mckusick
Differential Revision:  https://reviews.freebsd.org/D54576
DeltaFile
+18-6sbin/newfs/newfs.8
+6-3sbin/newfs/newfs.c
+24-92 files

NetBSD/pkgsrc-wip 6c24357widelands PLIST Makefile, widelands/patches patch-src_base_i18n.h patch-src_base_i18n.cc

games/widelands: Update to release 1.3

Since the release of version 1.2, we implemented several hundreds of new
features and bugfixes; for example, to name just a few of the highlights:

- Market trading
- Six new maps added and three old maps removed
- Economy districts
- Many improvements to the in-game Encyclopedia
- Download website maps as add-ons
- New visualisation modes in the editor
- Many new capabilities for add-on developers

Widelands 1.3 is translated completely into Czech, Durch, German, Hungarian,
and Low German, and the translations for 9 other languages are more than 2/3
complete.
DeltaFile
+2,090-1,699widelands/PLIST
+0-32widelands/patches/patch-src_base_i18n.h
+0-23widelands/patches/patch-src_base_i18n.cc
+2-17widelands/Makefile
+9-9widelands/patches/patch-xdg_CMakeLists.txt
+16-0widelands/COMMIT_MSG
+2,117-1,7801 files not shown
+2,121-1,7867 files

NetBSD/pkgsrc-wip 77e4159widelands PLIST Makefile, widelands/patches patch-src_base_i18n.h patch-src_base_i18n.cc

widelands: Copy from games/widelands
DeltaFile
+22,049-0widelands/PLIST
+76-0widelands/Makefile
+32-0widelands/patches/patch-src_base_i18n.h
+23-0widelands/patches/patch-src_base_i18n.cc
+17-0widelands/patches/patch-xdg_CMakeLists.txt
+8-0widelands/distinfo
+22,205-01 files not shown
+22,209-07 files

FreeBSD/ports ef71ca3devel/air-go distinfo Makefile

devel/air-go: Update to 1.63.7
DeltaFile
+5-5devel/air-go/distinfo
+1-1devel/air-go/Makefile
+6-62 files

FreeBSD/ports 2975860benchmarks/hey distinfo Makefile

benchmarks/hey: Update to 0.1.5
DeltaFile
+5-5benchmarks/hey/distinfo
+1-2benchmarks/hey/Makefile
+6-72 files

LLVM/project c3297b7mlir/lib/Bindings/Python DialectLinalg.cpp, mlir/python CMakeLists.txt

[mlir][Python] generate type stubs for dialect extensions
DeltaFile
+69-50mlir/lib/Bindings/Python/DialectLinalg.cpp
+10-22mlir/test/python/lib/PythonTestModuleNanobind.cpp
+14-2mlir/python/CMakeLists.txt
+93-743 files

Linux/linux 755bc13arch/riscv/boot Makefile, arch/riscv/include/asm pgtable.h

Merge tag 'riscv-for-linus-6.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fixes from Paul Walmsley:
 "Notable changes include a fix to close one common microarchitectural
  attack vector for out-of-order cores. Another patch exposed an
  omission in my boot test coverage, which is currently missing
  relocatable kernels. Otherwise, the fixes seem to be settling down for
  us.

   - Fix CONFIG_RELOCATABLE=y boots by building Image files from
     vmlinux, rather than vmlinux.unstripped, now that the .modinfo
     section is included in vmlinux.unstripped

   - Prevent branch predictor poisoning microarchitectural attacks that
     use the syscall index as a vector by using array_index_nospec() to
     clamp the index after the bounds check (as x86 and ARM64 already
     do)

   - Fix a crash in test_kprobes when building with Clang

    [22 lines not shown]
DeltaFile
+11-12arch/riscv/kernel/cpufeature.c
+8-7arch/riscv/kernel/Makefile
+3-1arch/riscv/kernel/traps.c
+0-4arch/riscv/include/asm/pgtable.h
+0-4arch/riscv/boot/Makefile
+2-0arch/riscv/kernel/tests/kprobes/test-kprobes-asm.S
+24-286 files not shown
+26-3512 files

FreeNAS/freenas 6699435src/middlewared/middlewared/plugins sysdataset.py, src/middlewared/middlewared/plugins/system_dataset mount.py

Rework system dataset migration to be less bad

This commit reworks how we migrate the system datasets so that
it's somewhat less racy and uses kernel APIs for this.

On migration:
1. build new mount tree in middleware run dir
2. sync data from old to new
3. move new under old
4. move old to middleware rundir
5. restart services
6. cleanup
DeltaFile
+309-339src/middlewared/middlewared/plugins/sysdataset.py
+67-0src/middlewared/middlewared/plugins/system_dataset/mount.py
+376-3392 files

FreeNAS/freenas 778ceb2src/middlewared/middlewared/plugins sysdataset.py

Fix
DeltaFile
+13-11src/middlewared/middlewared/plugins/sysdataset.py
+13-111 files

HardenedBSD/src 3284429sys/dev/cxgbe t4_sge.c, sys/dev/cxgbe/common t4_regs.h t4_hw.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+825-235sys/dev/cxgbe/common/t4_regs.h
+528-194usr.sbin/cxgbetool/reg_defs_t7.c
+67-64sys/dev/cxgbe/t4_sge.c
+22-12sys/dev/cxgbe/firmware/t7fw_cfg.txt
+18-8sys/dev/cxgbe/firmware/t7fw_cfg_uwire.txt
+6-7sys/dev/cxgbe/common/t4_hw.c
+1,466-5201 files not shown
+1,467-5217 files

HardenedBSD/src 7f32a70sys/dev/cxgbe t4_sge.c, sys/dev/cxgbe/common t4_regs.h t4_hw.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+825-235sys/dev/cxgbe/common/t4_regs.h
+528-194usr.sbin/cxgbetool/reg_defs_t7.c
+67-64sys/dev/cxgbe/t4_sge.c
+22-12sys/dev/cxgbe/firmware/t7fw_cfg.txt
+18-8sys/dev/cxgbe/firmware/t7fw_cfg_uwire.txt
+6-7sys/dev/cxgbe/common/t4_hw.c
+1,466-5201 files not shown
+1,467-5217 files

Linux/linux 0fa2789Documentation/ABI/testing sysfs-devices-soc, rust/kernel driver.rs device.rs

Merge tag 'driver-core-6.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core

Pull driver core fixes from Danilo Krummrich:

 - Fix swapped example values for the `family` and `machine` attributes
   in the sysfs SoC bus ABI documentation

 - Fix Rust build and intra-doc issues when optional subsystems
   (CONFIG_PCI, CONFIG_AUXILIARY_BUS, CONFIG_PRINTK) are disabled

 - Fix typos and incorrect safety comments in Rust PCI, DMA, and
   device ID documentation

* tag 'driver-core-6.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core:
  rust: device: Remove explicit import of CStrExt
  rust: pci: fix typos in Bar struct's comments
  rust: device: fix broken intra-doc links
  rust: dma: fix broken intra-doc links
  rust: driver: fix broken intra-doc links to example driver types

    [3 lines not shown]
DeltaFile
+8-4rust/kernel/driver.rs
+3-4rust/kernel/device.rs
+3-4rust/kernel/dma.rs
+2-2Documentation/ABI/testing/sysfs-devices-soc
+2-2rust/kernel/pci/io.rs
+1-1rust/kernel/device_id.rs
+19-176 files

HardenedBSD/src 6a87f31contrib/bmake configure var.c, contrib/bmake/mk options.mk ChangeLog

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+102-46contrib/bmake/mk/options.mk
+44-9contrib/bmake/configure
+49-0contrib/bmake/mk/ChangeLog
+43-3contrib/bmake/var.c
+37-0contrib/bmake/ChangeLog
+20-16contrib/bmake/mk/install-new.mk
+295-7487 files not shown
+690-69893 files

Linux/linux b061fcftools/testing/selftests/ftrace/test.d/00basic trace_marker_raw.tc

Merge tag 'linux_kselftest-fixes-6.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

Pull kselftest fix from Shuah Khan:
 "Fix tracing test_multiple_writes stalls when buffer_size_kb is less
  than 12KB"

* tag 'linux_kselftest-fixes-6.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  selftests/tracing: Fix test_multiple_writes stall
DeltaFile
+17-1tools/testing/selftests/ftrace/test.d/00basic/trace_marker_raw.tc
+17-11 files

LLVM/project d593bcdclang/lib/Driver/ToolChains Flang.cpp, flang/docs Aliasing.md

[flang] Changes to "unsafe Cray pointers" option (#175223)

Reserve "-funsafe-cray-pointers" (with "f") for the driver. In the
fir-alias-analysis use "-unsafe-cray-pointers" (without "f").

This prevents conflicts with how certain kinds of tools use the "unsafe
Cray pointers" options.
DeltaFile
+2-2flang/test/Driver/unsafe-cray-pointers.f90
+1-1flang/test/Transforms/tbaa-cray-pointer.fir
+1-1flang/test/Analysis/AliasAnalysis/alias-analysis-cray-pointers.fir
+1-1flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
+1-1flang/docs/Aliasing.md
+1-1clang/lib/Driver/ToolChains/Flang.cpp
+7-76 files

LLVM/project e63ae77llvm/tools/llvm-mc-assemble-fuzzer llvm-mc-assemble-fuzzer.cpp

[NFC] Add missing `override` on function. (#173701)

DeltaFile
+5-6llvm/tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp
+5-61 files