LLVM/project fa3f78eclang-tools-extra/clangd/unittests CompileCommandsTests.cpp, clang/lib/Driver/ToolChains Clang.cpp

[clangd] Support clang-cl flags /std:c++23preview and /std:clatest (#178080)

Related to https://github.com/clangd/clangd/issues/527 and
https://github.com/clangd/clangd/issues/1850.

Previously: https://github.com/llvm/llvm-project/pull/160030
DeltaFile
+32-9clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
+24-6clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp
+10-0clang/lib/Driver/ToolChains/Clang.cpp
+66-153 files

FreeBSD/src 1e233e3lib/libc/db/btree bt_split.c

btree/bt_split.c: Fix a misaligned if statement

Sponsored by:   Klara, Inc.
DeltaFile
+1-1lib/libc/db/btree/bt_split.c
+1-11 files

FreeBSD/ports def88f0net/xmlrpc-c pkg-plist distinfo

net/xmlrpc-c: Update to 1.64.03

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+20-20net/xmlrpc-c/pkg-plist
+3-3net/xmlrpc-c/distinfo
+2-1net/xmlrpc-c/Makefile
+25-243 files

LLVM/project 05443a9libcxx/include string

[libc++] Refactor how we do amortized growth (#171117)

When doing amortized growth we currently have separate functions for
calculating the new capacity and allocating. However, we set the size to
the calculated capacity that way instead of the actually required size.
This makes the interface quite confusing, since the size has to be set
manually. Instead, this patch refactors the function to get the
amortized growth capacity to instead allocate and set the size
correctly.
DeltaFile
+14-9libcxx/include/string
+14-91 files

LLVM/project 47a5ea6clang/include/clang/Analysis/Analyses/LifetimeSafety FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp

Handle non-trivial view types of temporaries
DeltaFile
+23-0clang/test/Sema/warn-lifetime-safety.cpp
+12-1clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+1-0clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+36-13 files

LLVM/project 74edd15clang/lib/Analysis/LifetimeSafety LifetimeAnnotations.cpp, clang/test/Sema warn-lifetime-safety.cpp

Transparent functions for all gsl::Pointers
DeltaFile
+75-0clang/test/Sema/warn-lifetime-safety.cpp
+19-17clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+94-172 files

LLVM/project 1054742clang/include/clang/Analysis/Analyses/LifetimeSafety Facts.h, clang/lib/Analysis/LifetimeSafety Checker.cpp FactsGenerator.cpp

[LifetimeSafety] Detect dangling fields
DeltaFile
+175-0clang/test/Sema/warn-lifetime-safety-dangling-field.cpp
+49-21clang/lib/Analysis/LifetimeSafety/Checker.cpp
+51-17clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+48-4clang/include/clang/Analysis/Analyses/LifetimeSafety/Facts.h
+25-4clang/lib/Sema/AnalysisBasedWarnings.cpp
+0-28clang/test/Analysis/lifetime-cfg-output.cpp
+348-7415 files not shown
+460-11221 files

LLVM/project a40f971llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[VPlan] Refine VPValue types in tryToFoldLiveIns (NFC) (#178183)

tryToFoldLiveIns operates on live-ins (that is, both VPIRValues and
VPSymbolicValues), and returns a VPIRValue. Clarify this.
DeltaFile
+5-5llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+5-51 files

LLVM/project c245774llvm/lib/Transforms/Vectorize VPlanPatternMatch.h

[VPlan] Make class_match variadic, reuse for m_LiveIn. NFC (#178196)

DeltaFile
+5-9llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
+5-91 files

LLVM/project 47fa46cllvm/lib/Target/X86 X86ISelLowering.cpp

[perf] Replace copy-assign by move-assign in llvm/lib/Target/* (#178179)

DeltaFile
+1-1llvm/lib/Target/X86/X86ISelLowering.cpp
+1-11 files

LLVM/project 25a1888libcxx/docs CodingGuidelines.rst

[libc++] Document that backported language features should be used (#176993)

We've been using language extensions from newer language modes quite
liberally throughout the code base for a while now and didn't encounter
major problems. This patch documents that practice in the coding
guidelines.
DeltaFile
+15-5libcxx/docs/CodingGuidelines.rst
+15-51 files

LLVM/project 47bfb42llvm/lib/ExecutionEngine ExecutionEngine.cpp, llvm/lib/ExecutionEngine/Interpreter Execution.cpp

[perf] Replace copy-assign by move-assign in llvm/lib/ExecutionEngine/* (#178173)

DeltaFile
+2-2llvm/lib/ExecutionEngine/Orc/COFFVCRuntimeSupport.cpp
+1-1llvm/lib/ExecutionEngine/ExecutionEngine.cpp
+1-1llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+4-43 files

LLVM/project 7cd1463llvm/lib/Support Mustache.cpp Path.cpp

[perf] Replace copy-assign by move-assign in llvm/lib/Support/* (#178167)

DeltaFile
+2-2llvm/lib/Support/Mustache.cpp
+1-1llvm/lib/Support/Path.cpp
+1-1llvm/lib/Support/KnownBits.cpp
+4-43 files

FreeBSD/src 069a673sys/netinet ip6.h, sys/netinet6 ip6_input.c ip6_output.c

ip6: Remove support for RFC2675 (Jumbo Payload Option)

The Jumbo Payload option was intended to allow the deployment of IPv6 on
networks with a link MTU in excess of 65,735 octets.

Speaking to one of the authors of RFC2675 the networks which motivated
the Jumbo Payload option no longer exist.

FreeBSD does not currently support any links with this capacity and
discussion when this change was first proposed suggested that the loop
back interface had to be patched to test implementation.

As there are no known devices that can carry Jumbo Payloads remove
support.

Reviewed by:    glebius, teuxen, kp
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D19960
DeltaFile
+23-87sys/netinet6/ip6_input.c
+4-106sys/netinet6/ip6_output.c
+14-8sys/netinet6/udp6_usrreq.c
+11-1sys/netinet/ip6.h
+1-2sys/netinet6/ip6_var.h
+53-2045 files

FreeNAS/freenas 6e74e5dsrc/middlewared/middlewared/plugins/smb_ sharesec.py

NAS-139498 / 26.0.0-BETA.1 / Fix regression in initializing local share_info (#18107)

The call to set_version_share_info now needs an argument
DeltaFile
+1-1src/middlewared/middlewared/plugins/smb_/sharesec.py
+1-11 files

LLVM/project 90829e5libc/shared/math sinf16.h, libc/src/__support/math sinf16.h CMakeLists.txt

[libc][math] Refactor sinf16 implementation to header-only in src/__support/math folder. (#178062)

Part of #147386
    
in preparation for:

https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
DeltaFile
+136-0libc/src/__support/math/sinf16.h
+2-102libc/src/math/generic/sinf16.cpp
+29-0libc/shared/math/sinf16.h
+18-0libc/src/__support/math/CMakeLists.txt
+13-3utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-10libc/src/math/generic/CMakeLists.txt
+199-1153 files not shown
+202-1159 files

LLVM/project 7b61b5allvm/lib/Target/AMDGPU SOPInstructions.td AMDGPU.td, llvm/test/MC/AMDGPU gfx13_asm_sop1.s gfx13_asm_sop1_alias.s

[AMDGPU] Add SOP1 support for gfx13
DeltaFile
+3,136-0llvm/test/MC/AMDGPU/gfx13_asm_sop1.s
+156-107llvm/lib/Target/AMDGPU/SOPInstructions.td
+69-0llvm/test/MC/AMDGPU/gfx13_asm_sop1_alias.s
+1-0llvm/lib/Target/AMDGPU/AMDGPU.td
+3,362-1074 files

FreeNAS/freenas 5d4115esrc/middlewared/middlewared/plugins auth.py, tests/api2 test_twofactor_auth.py

Fix retries
DeltaFile
+5-9tests/api2/test_twofactor_auth.py
+0-11src/middlewared/middlewared/plugins/auth.py
+5-202 files

NetBSD/pkgsrc FRcHG2zcad/klayout Makefile

   klayout: remove -qt5, configure says option is removed

   and qt version is auto-detected
VersionDeltaFile
1.104+1-2cad/klayout/Makefile
+1-21 files

HardenedBSD/src ad63399contrib/ofed/libbnxtre verbs.c, sys/dev/bnxt/bnxt_re ib_verbs.c qplib_fp.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+162-78sys/dev/bnxt/bnxt_re/ib_verbs.c
+89-26sys/dev/bnxt/bnxt_re/qplib_fp.c
+52-27sys/dev/bnxt/bnxt_re/main.c
+25-23sys/dev/bnxt/bnxt_re/qplib_sp.c
+34-10contrib/ofed/libbnxtre/verbs.c
+25-0sys/dev/bnxt/bnxt_re/ib_verbs.h
+387-16416 files not shown
+513-18422 files

HardenedBSD/src fa3d83bcontrib/ofed/libbnxtre verbs.c, sys/dev/bnxt/bnxt_re ib_verbs.c qplib_fp.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+162-78sys/dev/bnxt/bnxt_re/ib_verbs.c
+89-26sys/dev/bnxt/bnxt_re/qplib_fp.c
+52-27sys/dev/bnxt/bnxt_re/main.c
+25-23sys/dev/bnxt/bnxt_re/qplib_sp.c
+34-10contrib/ofed/libbnxtre/verbs.c
+25-0sys/dev/bnxt/bnxt_re/ib_verbs.h
+387-16416 files not shown
+513-18422 files

OPNSense/ports 0ac015bopnsense/update Makefile distinfo

opnsense/update: final one for 26.1
DeltaFile
+2-10opnsense/update/Makefile
+3-5opnsense/update/distinfo
+5-152 files

FreeNAS/freenas 6a029f2src/middlewared Makefile

NAS-139496 / 26.0.0-BETA.1 / Remove mako files during reinstall (#18106)

If we don't remove mako files during reinstall, then no changes in the
middleware repo's etc_files directory will enter into the running
configuration for middlewared leading to undefined behavior and possible
mistakenly passing tests.
DeltaFile
+4-1src/middlewared/Makefile
+4-11 files

HardenedBSD/ports eeffe84devel/folly pkg-plist, devel/folly/files patch-CMake_FollyFunctions.cmake

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+5,349-5,344graphics/gimp3-app/pkg-plist
+6-574devel/folly/pkg-plist
+21-19textproc/py-zensical/distinfo
+18-8emulators/wine-devel/Makefile
+20-0emulators/open-vm-tools/files/patch-lib_rpcChannel_rpcChannel.c
+9-9devel/folly/files/patch-CMake_FollyFunctions.cmake
+5,423-5,95458 files not shown
+5,602-6,07864 files

FreeBSD/ports 6880fa2mail/abook Makefile distinfo

mail/abook: Update to 0.6.2

- Pet port(clippy|fmt)
- Take maintainership
- Update license

ChangeLog:      https://sourceforge.net/p/abook/git/ci/master/tree/ChangeLog
Reported by:    portscout!
DeltaFile
+12-10mail/abook/Makefile
+3-3mail/abook/distinfo
+2-2mail/abook/pkg-plist
+17-153 files

NetBSD/pkgsrc 8LhmtM4devel/ninja-build distinfo Makefile, devel/py-ninja distinfo Makefile

   (devel/py-ninja devel/ninja-build) +DIST_SUBDIR to avoid conflict
VersionDeltaFile
1.26+4-4devel/ninja-build/distinfo
1.6+4-4devel/py-ninja/distinfo
1.8+4-1devel/py-ninja/Makefile
1.28+4-1devel/ninja-build/Makefile
+16-104 files

LLVM/project 0e84f65llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/AArch64 sve-fixed-length-shuffles.ll

Support EXTRACT_SUBVECTOR in computeKnownBits for scalable vectors (#177163)

Rather than not supporting this case it would just be more conservative
as it will need to prove known bits for all elements.

Follows on from #176883
DeltaFile
+0-47llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
+19-1llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp
+11-6llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+30-543 files

OPNSense/src 1bab723sys/netpfil/ipfw ip_fw_table_value.c

netpfil/ipfw: Fix a typo in a source code comment

- s/vaues/values/

(cherry picked from commit 9be9ab2a242080dea6254e187cf211604170de07)
DeltaFile
+1-1sys/netpfil/ipfw/ip_fw_table_value.c
+1-11 files

OPNSense/src b535c31sys/dev/e1000 if_em.c e1000_phy.c

Revert "e1000: Try auto-negotiation for fixed 100 or 10 configuration"

We've gotten a report of this breaking a fixed no autoneg setup.

Since no link is worse than what this intends to fix (negotiating full
duplex at forced speed), revert for the undeway 15.0 release cycle
until this can be further reviewed.

PR:             288827
Differential Revision:  https://reviews.freebsd.org/D47336

This reverts commit 645c45e297c0fcbbb9d2d24cdeeb124234825019.

(cherry picked from commit 3ff0231c87f360afa4521e635b46f6c711dc4ee3)
DeltaFile
+6-38sys/dev/e1000/if_em.c
+2-3sys/dev/e1000/e1000_phy.c
+8-412 files

OPNSense/src e55e4cbsys/netinet6 ip6_output.c

ipv6: account for jumbo payload option

If a jumbo payload option is added, the length of the mbuf chain is
increased by 8 but the actual hop-by-hop extension header with the
jumbo playload option is only inserted in the packet if there are
other options. Therefore, adjust optlen to reflect the actual size
of IPv6 extension headers including the hop-by-hop extension header
containing the jumbo payload option.

Reported by:            syzbot+73fe316271df473230eb at syzkaller.appspotmail.com
Reviewed by:            markj, Timo Voelker
Differential Revision:  https://reviews.freebsd.org/D54394

(cherry picked from commit 1f5b1de1fdf2924066c1851ed6c73f36fe20b438)
DeltaFile
+1-0sys/netinet6/ip6_output.c
+1-01 files