LLVM/project 61a58cfclang-tools-extra/clang-tidy/hicpp IgnoredRemoveResultCheck.h IgnoredRemoveResultCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Redirect hicpp-ignored-remove-result to bugprone-unused-return-value (#184547)

Part of the work in https://github.com/llvm/llvm-project/issues/183462.

Closes https://github.com/llvm/llvm-project/issues/183518.
DeltaFile
+0-32clang-tools-extra/clang-tidy/hicpp/IgnoredRemoveResultCheck.h
+0-30clang-tools-extra/clang-tidy/hicpp/IgnoredRemoveResultCheck.cpp
+5-20clang-tools-extra/docs/clang-tidy/checks/hicpp/ignored-remove-result.rst
+12-2clang-tools-extra/clang-tidy/hicpp/HICPPTidyModule.cpp
+6-0clang-tools-extra/docs/ReleaseNotes.rst
+5-0clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst
+28-842 files not shown
+29-868 files

LLVM/project daf8734llvm/test/Transforms/SLPVectorizer non-power-of-2-bswap.ll

Add checks

Created using spr 1.3.7
DeltaFile
+22-0llvm/test/Transforms/SLPVectorizer/non-power-of-2-bswap.ll
+22-01 files

LLVM/project 2ec8414llvm/include/llvm/Analysis TargetTransformInfoImpl.h, llvm/test/Transforms/SLPVectorizer non-power-of-2-bswap.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+33-0llvm/test/Transforms/SLPVectorizer/non-power-of-2-bswap.ll
+3-0llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
+36-02 files

OPNSense/core 3298808Mk version.mk

pkg: add colordiff for new shell resore feature
DeltaFile
+1-0Mk/version.mk
+1-01 files

NetBSD/pkgsrc-wip 8e6f449swaybg Makefile, swaylock Makefile

swaybg, swaylock, waybar: fix nogit SUBST
DeltaFile
+0-1waybar/Makefile
+0-1swaybg/Makefile
+0-1swaylock/Makefile
+0-33 files

LLVM/project 6f16e6allvm/test/CodeGen/AArch64 fp-maximumnum-minimumnum.ll, llvm/test/CodeGen/X86 bit-manip-i512.ll wide-scalar-shift-by-byte-multiple-legalization.ll

Merge branch 'main' into users/kosarev/vcc-tuples
DeltaFile
+5,488-0llvm/test/CodeGen/X86/bit-manip-i512.ll
+1,561-2,812llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+2,071-1,930llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll
+3,441-0llvm/test/MC/AMDGPU/gfx13_asm_vflat.s
+3,257-0llvm/test/CodeGen/X86/bit-manip-i256.ll
+3,114-0llvm/test/CodeGen/X86/andnot-sink-not.ll
+18,932-4,7421,862 files not shown
+76,528-31,1691,868 files

FreeBSD/src 2c5cd07contrib/jemalloc/src jemalloc.c

rallocx path: only set errno on the realloc case.

PR:             291677
Obtained from:  jemalloc (commit 83b075789b4239035931c1ee212576d00153bbf0)
Fixes:          c43cad871720 ("jemalloc: Merge from jemalloc 5.3.0 vendor branch")
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2059
DeltaFile
+3-1contrib/jemalloc/src/jemalloc.c
+3-11 files

FreeBSD/src 5583b64contrib/jemalloc/src jemalloc.c

Set errno to ENOMEM on rallocx() OOM failures

realloc() and rallocx() shares path, and realloc() should set errno to
ENOMEM upon OOM failures.

PR:             291677
Obtained from:  jemalloc (commit 38056fea64c34ca4fef0a16212776eaa4de80b78)
Fixes:          c43cad871720 ("jemalloc: Merge from jemalloc 5.3.0 vendor branch")
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2059
DeltaFile
+1-0contrib/jemalloc/src/jemalloc.c
+1-01 files

LLVM/project bfd2f75flang/include/flang/Semantics openmp-utils.h

Update openmp-utils.h
DeltaFile
+0-6flang/include/flang/Semantics/openmp-utils.h
+0-61 files

LLVM/project dd18e04clang/test/CodeGenOpenCL builtins-amdgcn-workgroup-size.cl, flang/test/Lower/OpenMP task-affinity.f90

Merge branch 'main' into users/kparzysz/e02-iterator-location
DeltaFile
+1-1,001llvm/lib/Target/X86/X86ISelLowering.h
+156-535libclc/cmake/modules/AddLibclc.cmake
+314-314llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-mask.s
+627-0clang/test/CodeGenOpenCL/builtins-amdgcn-workgroup-size.cl
+16-532llvm/lib/Target/X86/X86ISelLowering.cpp
+495-45flang/test/Lower/OpenMP/task-affinity.f90
+1,609-2,427335 files not shown
+13,398-8,024341 files

LLVM/project 6b04214flang/include/flang/Semantics openmp-utils.h, flang/lib/Semantics check-omp-loop.cpp

[flang][OpenMP] Import ExecutionPartIterator et al into semantics::om… (#185288)

…p, NFC

Issue: https://github.com/llvm/llvm-project/issues/185287
DeltaFile
+13-0flang/include/flang/Semantics/openmp-utils.h
+0-3flang/lib/Semantics/check-omp-loop.cpp
+13-32 files

NetBSD/pkgsrc-wip 931a4f0. Makefile, swappy Makefile PLIST

Import swappy
DeltaFile
+31-0swappy/Makefile
+11-0swappy/PLIST
+5-0swappy/distinfo
+4-0swappy/DESCR
+1-0Makefile
+52-05 files

LLVM/project 3a24b4ellvm/test/CodeGen/AMDGPU coalesce-copy-to-agpr-to-av-registers.mir rewrite-vgpr-mfma-to-agpr-subreg-src2-chain.mir

[AMDGPU] Replace hardcoded register class IDs with [[#]] (NFC)

Replace hardcoded register class ID numbers in INLINEASM check
patterns with FileCheck's [[#]] numeric substitution pattern.
This makes tests resilient to changes in TableGen-generated
register class IDs when new register classes are added.
DeltaFile
+60-60llvm/test/CodeGen/AMDGPU/coalesce-copy-to-agpr-to-av-registers.mir
+9-9llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-subreg-src2-chain.mir
+6-6llvm/test/CodeGen/AMDGPU/subreg-undef-def-with-other-subreg-defs.mir
+4-4llvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
+4-4llvm/test/CodeGen/AMDGPU/coalescer-early-clobber-subreg.mir
+3-3llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-subreg-insert-extract.mir
+86-867 files not shown
+95-9513 files

LLVM/project d5194b5clang/lib/AST ASTContext.cpp, clang/lib/Sema SemaLookup.cpp

[Clang] define memory scopes as a builtin enum

Clang currently represents memory scopes as pre-defined preprocessor macros that
evaluate to integers. But so far, there are three sets of conflicting scopes:
"common" clang scopes, HIP scopes and OpenCL scopes. These sets use the same
integers in different orders, making it impossible to validate their use. A
better approach is to represent these scopes as enum types, so that the integer
values become less significant. Sema can now validate the scope argument by its
type instead.

Both C and C++ define an enum for memory_order, but there is no standard enum
for memory_scope. This change introduces a Clang-specific enum "memory_scope".
The pre-defined macros are now mapped to this enum. Later changes can add
similar enums for other languages.

enum __memory_scope {
  __memory_scope_system,
  __memory_scope_device,
  __memory_scope_workgroup,

    [19 lines not shown]
DeltaFile
+106-0clang/test/Sema/scoped-atomic-scope-deprecation.c
+88-0clang/lib/AST/ASTContext.cpp
+30-30clang/test/Preprocessor/init.c
+56-0clang/test/Sema/builtin-memory-scope.c
+53-0clang/lib/Sema/SemaLookup.cpp
+52-0clang/test/Sema/builtin-memory-scope-shadowing.c
+385-3012 files not shown
+506-7618 files

LLVM/project 160a828clang/include/clang/Basic Builtins.h, clang/include/clang/Sema Sema.h

[Clang][NFC] Pass Builtin::Info as an argument to Sema::BuildAtomicExpr

Assisted-By: Claude Sonnet 4.5
DeltaFile
+6-3clang/lib/Sema/SemaChecking.cpp
+3-1clang/include/clang/Sema/Sema.h
+2-2clang/include/clang/Basic/Builtins.h
+1-1clang/lib/Sema/TreeTransform.h
+12-74 files

LLVM/project 1efbfe8clang/include/clang/AST Expr.h, clang/include/clang/Basic Builtins.td BuiltinsBase.td

[Clang][NFC] Introduce LanguageID::HIP_LANG and reclassify AtomicBuiltins

The TableGen class AtomicBuiltin is currently used for both OpenCL and HIP
atomic builtins, but there is no way to classify them. That class now takes
language as an argument. HIP is represented by a new enum member
LanguageID::HIP_LANG in this scheme.

Assisted-By: Claude Sonnet 4.5
DeltaFile
+25-25clang/include/clang/Basic/Builtins.td
+6-2clang/utils/TableGen/ClangBuiltinsEmitter.cpp
+3-3clang/lib/AST/StmtPrinter.cpp
+3-1clang/include/clang/Basic/BuiltinsBase.td
+2-2clang/include/clang/AST/Expr.h
+1-1clang/lib/Sema/SemaChecking.cpp
+40-341 files not shown
+41-347 files

LLVM/project f46a6c6clang/include/clang/AST Decl.h, clang/lib/AST Decl.cpp DeclCXX.cpp

[Clang][NFC] Use const ASTContext reference in Decl Create methods

Update Create() static factory methods, CreateDeserialized() methods, and
constructors in Decl.h to accept const ASTContext& instead of ASTContext&.
This change makes ASTContext parameters const-correct for declaration
creation and deserialization, affecting all Decl subclasses declared in
Decl.h.

Exceptions kept as non-const (only 3 methods):
- TranslationUnitDecl::Create() and constructor: stores non-const
  ASTContext& member that is returned by getASTContext()
- DefaultedOrDeletedFunctionInfo::Create(): calls Context.Allocate()
  which requires non-const access

Assisted-By: Claude Sonnect 4.5
DeltaFile
+92-80clang/include/clang/AST/Decl.h
+82-71clang/lib/AST/Decl.cpp
+3-3clang/lib/AST/DeclCXX.cpp
+177-1543 files

LLVM/project ff232d6clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers utility, clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines pro-bounds-constant-array-index-includestyle.cpp

[clang-tidy][NFC] Add missing Option tests in cppcoreguidelines and performance [3/N] (#185210)

This PR adds testcases for untested Options in `cppcoreguidelines` and
`performance` modules for better test coverage, specifically:

- `cppcoreguidelines-init-variables`: `IncludeStyle`, `MathHeader`.
- `cppcoreguidelines-pro-bounds-constant-array-index`: `IncludeStyle`.
- `performance-inefficient-string-concatenation`: `StrictMode`.
- `performance-no-automatic-move`: `AllowedTypes`.
- `performance-type-promotion-in-math-fn`: `IncludeStyle`.
- `performance-unnecessary-value-param`: `IncludeStyle`.

As of AI Usage: Assisted by Gemini 3 and Claude (Writing part of the
testcases and pre-commit reviewing).
DeltaFile
+40-0clang-tools-extra/test/clang-tidy/checkers/performance/no-automatic-move-allowed-types.cpp
+28-0clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-bounds-constant-array-index-includestyle.cpp
+2-25clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-value-param.cpp
+22-0clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-value-param-includestyle.cpp
+18-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/utility
+18-0clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-string-concatenation-strict.cpp
+128-252 files not shown
+154-258 files

LLVM/project 9e883b4clang/test/Lexer cxx20-module-directive.cpp

[clang][test] Add missing FileCheck pipe in cxx20-module-directive.cpp (#185315)

The test had CHECK directives that were never executed because the RUN
line did not pipe output to FileCheck.
DeltaFile
+1-1clang/test/Lexer/cxx20-module-directive.cpp
+1-11 files

FreeBSD/ports 77f2ea7audio/ncspot distinfo Makefile.crates

audio/ncspot: update 1.3.2 -> 1.3.3

Changelog: https://github.com/hrkfdn/ncspot/releases/tag/v1.3.3

Major changes:
    * ncspot should work again after Spotify have changed the authorization flow
    * Use ncspot's ClientID for Web API calls
DeltaFile
+117-73audio/ncspot/distinfo
+57-35audio/ncspot/Makefile.crates
+1-2audio/ncspot/Makefile
+175-1103 files

FreeBSD/ports 206984fdevel/py-lap distinfo Makefile

devel/py-lap: update 0.5.12 -> 0.5.13

Changelog: https://github.com/gatagat/lap/releases/tag/v0.5.13
DeltaFile
+3-3devel/py-lap/distinfo
+1-1devel/py-lap/Makefile
+4-42 files

HardenedBSD/src bf8f45bsys/dev/acpi_support acpi_system76.c, sys/modules/acpi/acpi_system76 Makefile

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+261-31sys/dev/acpi_support/acpi_system76.c
+1-0sys/modules/acpi/acpi_system76/Makefile
+262-312 files

HardenedBSD/src 756e2adsys/dev/acpi_support acpi_system76.c, sys/modules/acpi/acpi_system76 Makefile

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+261-31sys/dev/acpi_support/acpi_system76.c
+1-0sys/modules/acpi/acpi_system76/Makefile
+262-312 files

HardenedBSD/src fd9551asys/compat/linuxkpi/common/src linux_80211.c, sys/contrib/dev/iwlwifi/fw/api rx.h

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+931-804sys/contrib/dev/iwlwifi/mld/rx.c
+0-809sys/contrib/dev/iwlwifi/mvm/link.c
+359-200sys/contrib/dev/iwlwifi/mld/d3.c
+49-347sys/contrib/dev/iwlwifi/mvm/d3.c
+201-102sys/compat/linuxkpi/common/src/linux_80211.c
+286-0sys/contrib/dev/iwlwifi/fw/api/rx.h
+1,826-2,262111 files not shown
+3,436-4,556117 files

HardenedBSD/ports 2290b4ddevel/hs-cabal-install/files patch-cabal-benchmarks_bench_CabalBenchmarks.hs, lang/ghc/files patch-libraries_semaphore-compat_src_System_Semaphore.hs

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+209-231sysutils/cardano-cli/distinfo
+113-129sysutils/rust-coreutils/distinfo
+96-97sysutils/cardano-cli/Makefile
+55-63sysutils/rust-coreutils/Makefile.crates
+44-0lang/ghc/files/patch-libraries_semaphore-compat_src_System_Semaphore.hs
+14-0devel/hs-cabal-install/files/patch-cabal-benchmarks_bench_CabalBenchmarks.hs
+531-52020 files not shown
+594-56126 files

LLVM/project 6aa7538llvm/lib/Target/AArch64 AArch64InstrInfo.td AArch64InstrFormats.td, llvm/test/CodeGen/AArch64 sve-streaming-mode-fixed-length-int-to-fp.ll sve-streaming-mode-cvt-fp-int-fp.ll

[LLVM][AArch64] Allow vector converts  to run in streaming mode with … (#177375)

…FPRCVT

Vector Saturated converts fp->int and converts int->fp are now allowed
to run in streaming mode when FEAT_FPRCVT feature is available.

Therefore the patch replaces HasNEONandIsSME2p2StreamingSafe by
HasNEONandIsFPRCVTStreamingSafe following the latest update in [1] for
the Vector CVT instructions.

It also allows the ISD Node FP_TO_SINT_SAT to do custom lowering instead
of expand when it is a fixed lengh data type, because it can use the
Vector CVT instructions. I believe this is correct because there is
always a compatible CVT instruction for the SME core.

Because now the compiler allows the fixed length CVT to run in streaming
mode, I needed to fix the function LowerVectorFP_TO_INT_SAT, the FRINT
instruction were creating a ilegal size for CVT instructions that was

    [4 lines not shown]
DeltaFile
+507-0llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
+38-37llvm/test/CodeGen/AArch64/sve-streaming-mode-cvt-fp-int-fp.ll
+48-20llvm/lib/Target/AArch64/AArch64InstrInfo.td
+37-19llvm/lib/Target/AArch64/AArch64InstrFormats.td
+630-764 files

NetBSD/pkgsrc I1msIg2doc CHANGES-2026

   doc: Updated geography/py-sbf2 to 1.0.4
VersionDeltaFile
1.1628+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc zAQwqdpgeography/py-sbf2 distinfo Makefile

   geography/py-sbf2: Update to 1.0.4

   ### RELEASE 1.0.4

   1. Update vscode workflows.
VersionDeltaFile
1.5+4-4geography/py-sbf2/distinfo
1.8+2-2geography/py-sbf2/Makefile
+6-62 files

NetBSD/pkgsrc pYAmtk5doc CHANGES-2026 TODO

   Updated devel/py-ipython, devel/py-scikit-build-core
VersionDeltaFile
1.1627+3-1doc/CHANGES-2026
1.26901+1-2doc/TODO
+4-32 files

NetBSD/pkgsrc iF30gRDdevel/py-scikit-build-core distinfo Makefile

   py-scikit-build-core: updated to 0.12.2

   0.12.2

   We've fixed another issue in the new file inclusion mode on Windows. We now
   always normalize SDist names, even if `minimum-version` is set to 0.4 or older,
   due to the fact PyPI no longer accepts non-normalized SDist names. Please
   increase your `minimum-version` anyway, though! Finally, the debug logging for
   file inclusion now displays the exact rule that triggered the include/exclude
   behavior.

   Fixes:

   - Use `as_posix` for prefix matching for better Windows support
   - Always normalize SDist names, even in `<0.5` compat mode
   - Better logging on why something fails/passes file inclusion check

   Internal:

   - Backport downstream RHEL patch to disable tests
VersionDeltaFile
1.22+4-4devel/py-scikit-build-core/distinfo
1.24+2-2devel/py-scikit-build-core/Makefile
+6-62 files