LLVM/project bb1691cclang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp, clang/test/Analysis/Scalable/source-edit-generation end-to-end-cpp-bounded-buffers.cpp

[SSAF][clang-reforge] Add end-to-end clang-reforge tests

- Make CppBoundedBuffers adapt to flattened WPA results;
- Let CppBoundedBuffers use qualified EntityNames so that it can
  associate ASTNodes with WPA results;
- Add end-to-end tests

Final step of:
rdar://185840466
DeltaFile
+623-0clang/test/Analysis/Scalable/source-edit-generation/end-to-end-cpp-bounded-buffers.cpp
+23-9clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+22-4clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+668-133 files

LLVM/project 6bc324fclang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp, clang/unittests/ScalableStaticAnalysis/SourceTransformation CppBoundedBuffersTest.cpp

fix clang-format
DeltaFile
+4-2clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+1-1clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+5-32 files

LLVM/project d9d2690clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp, clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp

[SSAF] Flatten 'UnsafeBufferReachableAnalysisResult' to a plain set

Previously, an 'UnsafeBufferReachableAnalysisResult' was organized as
a map from contributors to their mutually exclusive
sub-results. Because this extra layer of contributor information
proved unnecessary, this commit flattens the result into a plain set.

The source transformation expects the result to be a plain set, so
this is a prerequisite step for
rdar://185840466
DeltaFile
+10-10clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+5-11clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-new-delete.cpp
+4-7clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+1-4clang/unittests/ScalableStaticAnalysis/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+1-3clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+0-3clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-main.cpp
+21-381 files not shown
+23-397 files

LLVM/project 14c1facclang/include/clang/ScalableStaticAnalysis/Core ASTEntityMapping.h, clang/include/clang/ScalableStaticAnalysis/SourceTransformation Transformation.h

[SSAF] Add APIs for resolving bare EntityNames to qualified EntityNames (#219033)

Also give Transformation access to SSAFOptions so that it can use
link-unit and compilation-unit IDs to resolve bare EntityNames.

first step of
rdar://185840466
DeltaFile
+64-0clang/lib/ScalableStaticAnalysis/Core/ASTEntityMapping.cpp
+0-41clang/lib/ScalableStaticAnalysis/Core/TUSummary/TUSummaryExtractor.cpp
+34-0clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp
+26-0clang/include/clang/ScalableStaticAnalysis/Core/ASTEntityMapping.h
+5-5clang/lib/ScalableStaticAnalysis/Core/EntityLinker/EntityLinker.cpp
+6-3clang/include/clang/ScalableStaticAnalysis/SourceTransformation/Transformation.h
+135-498 files not shown
+171-5714 files

LLVM/project 13c34eallvm/lib/Analysis ScalarEvolution.cpp, llvm/lib/DWARFLinker/Classic DWARFLinker.cpp

[llvm] Migrate to FoldingSet's typed lookup/insert/erase. NFC (#219764)
DeltaFile
+62-59llvm/lib/Analysis/ScalarEvolution.cpp
+27-27llvm/lib/IR/Attributes.cpp
+3-3llvm/lib/ProfileData/ItaniumManglingCanonicalizer.cpp
+3-3llvm/lib/IR/LegacyPassManager.cpp
+3-3llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.cpp
+3-3llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
+101-983 files not shown
+110-1079 files

OpenBSD/ports snqU16caudio/sndiortp Makefile distinfo, audio/sndiortp/pkg DESCR

   audio/sndiortp: Update to v1.1.0

   ok rsadowski
VersionDeltaFile
1.2+2-2audio/sndiortp/distinfo
1.2+0-3audio/sndiortp/pkg/DESCR
1.2+1-1audio/sndiortp/Makefile
+3-63 files

FreeBSD/ports b25c179misc/codex Makefile distinfo, misc/codex/files patch-codex-rs_core_src_tools_runtimes_apply__patch.rs patch-codex-rs_Cargo.toml

misc/codex: Update to 0.151.0

Changelog: https://github.com/openai/codex/releases/tag/rust-v0.151.0

Reported by:    GitHub (watch releases)
DeltaFile
+9-9misc/codex/files/patch-codex-rs_Cargo.lock
+3-3misc/codex/distinfo
+2-2misc/codex/files/patch-codex-rs_core_src_tools_runtimes_apply__patch.rs
+2-2misc/codex/files/patch-codex-rs_Cargo.toml
+3-1misc/codex/Makefile
+19-175 files

OpenBSD/src VR82Se9lib/libsndio mio.c sndio.7, usr.bin/sndiod sock.c sndiod.c

   sndiod: Unify "midithru/N" and "midi/N" ports

   Add the -p option to register MIDI ports that programs can
   access as "midi/<name>". They have the same functionnality as the
   current "midithru/<number>" ports. The default MIDI port becomes
   simply "midi/default", which is automatically created (similarly
   to the default audio device).

   The "midithru/<number>" syntax is still accepted for backwards
   compatibility.
VersionDeltaFile
1.28+11-12lib/libsndio/sndio.7
1.23+16-2usr.bin/sndiod/sndiod.8
1.62+10-2usr.bin/sndiod/sndiod.c
1.70+7-1usr.bin/sndiod/sock.c
1.24+2-2lib/libsndio/mio.c
+46-195 files

HardenedBSD/src 6f8fb0ashare/man/man4 ntb_hw_intel.4 ntb_hw_amd.4, sys/dev/dpaa fman_xmdio.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+25-28share/man/man4/ntb_hw_plx.4
+45-6sys/dev/dpaa/fman_xmdio.c
+19-21share/man/man4/ntb.4
+17-20share/man/man4/ntb_hw_amd.4
+18-19share/man/man4/em.4
+8-12share/man/man4/ntb_hw_intel.4
+132-1063 files not shown
+146-1209 files

HardenedBSD/src 7a1838fshare/man/man4 ixv.4, sys/dev/e1000 e1000_defines.h if_em.c

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+895-17sys/dev/e1000/if_em.c
+104-67sys/dev/ixgbe/if_ixv.c
+98-0share/man/man4/ixv.4
+70-20sys/dev/ixgbe/if_ix.c
+63-0sys/dev/e1000/e1000_defines.h
+38-24sys/dev/igc/if_igc.c
+1,268-12815 files not shown
+1,508-15721 files

HardenedBSD/src da1a7b9share/man/man4 ntb_hw_intel.4 ntb_hw_amd.4, sys/dev/dpaa fman_xmdio.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+25-28share/man/man4/ntb_hw_plx.4
+45-6sys/dev/dpaa/fman_xmdio.c
+19-21share/man/man4/ntb.4
+17-20share/man/man4/ntb_hw_amd.4
+18-19share/man/man4/em.4
+8-12share/man/man4/ntb_hw_intel.4
+132-1063 files not shown
+146-1209 files

HardenedBSD/src b10f92ashare/man/man4 ixv.4, sys/dev/e1000 e1000_defines.h if_em.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+895-17sys/dev/e1000/if_em.c
+104-67sys/dev/ixgbe/if_ixv.c
+98-0share/man/man4/ixv.4
+70-20sys/dev/ixgbe/if_ix.c
+63-0sys/dev/e1000/e1000_defines.h
+38-24sys/dev/igc/if_igc.c
+1,268-12815 files not shown
+1,508-15721 files

LLVM/project 9bda6c4clang/lib/Parse ParseDecl.cpp

[clang][NFC] Fix comment in `ParseDecl.cpp` (#219761)

Solve
https://github.com/llvm/llvm-project/pull/219270#discussion_r3887904776
DeltaFile
+1-1clang/lib/Parse/ParseDecl.cpp
+1-11 files

OpenBSD/ports QGmPnNjprint/htmldoc Makefile distinfo

   Update to htmldoc-1.9.24.
VersionDeltaFile
1.27+2-2print/htmldoc/distinfo
1.67+1-2print/htmldoc/Makefile
+3-42 files

LLVM/project 59e78e8orc-rt/include/orc-rt-internal/support/sys CacheControl.h, orc-rt/include/orc-rt-internal/support/sys/posix CacheControl.h

[orc-rt] Fold the default clear_icache into sys/CacheControl.h. (#219758)

It was in a sys/posix/ header, but the default belongs with the
declaration: sys/CacheControl.h now selects on the builtin rather than
on an OS, so a freestanding target -- which has no __unix__ but does
have the builtin -- is served too. Darwin keeps its own header, to call
libSystem directly rather than depend on __clear_cache being linked in.
DeltaFile
+0-31orc-rt/include/orc-rt-internal/support/sys/posix/CacheControl.h
+20-10orc-rt/include/orc-rt-internal/support/sys/CacheControl.h
+20-412 files

FreeBSD/ports 7202308misc/py-anthropic Makefile distinfo, misc/py-anthropic/files patch-pyproject.toml

misc/py-anthropic: update to 1.2.0
DeltaFile
+4-4misc/py-anthropic/files/patch-pyproject.toml
+3-3misc/py-anthropic/distinfo
+2-3misc/py-anthropic/Makefile
+9-103 files

HardenedBSD/ports 7202308misc/py-anthropic Makefile distinfo, misc/py-anthropic/files patch-pyproject.toml

misc/py-anthropic: update to 1.2.0
DeltaFile
+4-4misc/py-anthropic/files/patch-pyproject.toml
+3-3misc/py-anthropic/distinfo
+2-3misc/py-anthropic/Makefile
+9-103 files

FreeBSD/ports 27fe18fsecurity/cl-md5-sbcl Makefile, textproc/cl-ppcre-sbcl Makefile

*/*: Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.
DeltaFile
+1-1x11/cl-clx-sbcl/Makefile
+1-1x11-wm/stumpwm/Makefile
+1-1www/nyxt/Makefile
+1-1www/cl-lml-sbcl/Makefile
+1-1textproc/cl-ppcre-sbcl/Makefile
+1-1security/cl-md5-sbcl/Makefile
+6-614 files not shown
+20-2020 files

HardenedBSD/ports 27fe18fsecurity/cl-md5-sbcl Makefile, textproc/cl-ppcre-sbcl Makefile

*/*: Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.
DeltaFile
+1-1x11/cl-clx-sbcl/Makefile
+1-1x11-wm/stumpwm/Makefile
+1-1www/nyxt/Makefile
+1-1www/cl-lml-sbcl/Makefile
+1-1textproc/cl-ppcre-sbcl/Makefile
+1-1security/cl-md5-sbcl/Makefile
+6-614 files not shown
+20-2020 files

FreeBSD/ports 79ff116lang/sbcl Makefile distinfo, lang/sbcl/files patch-contrib_sb-manual_texinfo.lisp

lang/sbcl: Update to 2.6.8
DeltaFile
+0-110lang/sbcl/files/patch-contrib_sb-manual_texinfo.lisp
+3-3lang/sbcl/distinfo
+1-2lang/sbcl/Makefile
+4-1153 files

HardenedBSD/ports 79ff116lang/sbcl Makefile distinfo, lang/sbcl/files patch-contrib_sb-manual_texinfo.lisp

lang/sbcl: Update to 2.6.8
DeltaFile
+0-110lang/sbcl/files/patch-contrib_sb-manual_texinfo.lisp
+3-3lang/sbcl/distinfo
+1-2lang/sbcl/Makefile
+4-1153 files

OpenBSD/src OjNSFZcsys/net if_veb.c

   cope with the port map being NULL in veb_vid_inuse.

   avoids a null deref when configuring pvlans before ports on a veb.
VersionDeltaFile
1.73+4-1sys/net/if_veb.c
+4-11 files

HardenedBSD/ports b262313www/code-server Makefile pkg-plist

www/code-server: Update to 4.135.0

Update to code-server 4.135.0, which bundles VS Code 1.135.0.

Changelog: https://github.com/coder/code-server/releases

Sponsored by:   Netzkommune GmbH
DeltaFile
+11-11www/code-server/distinfo
+11-0www/code-server/pkg-plist
+2-2www/code-server/Makefile
+24-133 files

FreeBSD/ports b262313www/code-server Makefile pkg-plist

www/code-server: Update to 4.135.0

Update to code-server 4.135.0, which bundles VS Code 1.135.0.

Changelog: https://github.com/coder/code-server/releases

Sponsored by:   Netzkommune GmbH
DeltaFile
+11-11www/code-server/distinfo
+11-0www/code-server/pkg-plist
+2-2www/code-server/Makefile
+24-133 files

HardenedBSD/ports e1b100fcad/qcad Makefile distinfo, cad/qcad/files patch-src_entity_entity.pro

cad/qcad: Update qcad and related *jsapi* to 3.33.0.0
DeltaFile
+24,281-5,292cad/qcad/pkg-plist
+3-6cad/qcad/files/patch-src_entity_entity.pro
+3-3cad/qtjsapi/distinfo
+3-3cad/qcadjsapi/distinfo
+3-3cad/qcad/distinfo
+4-1cad/qcad/Makefile
+24,297-5,3084 files not shown
+24,303-5,31410 files

FreeBSD/ports e1b100fcad/qcad Makefile distinfo, cad/qcad/files patch-src_entity_entity.pro

cad/qcad: Update qcad and related *jsapi* to 3.33.0.0
DeltaFile
+24,281-5,292cad/qcad/pkg-plist
+3-6cad/qcad/files/patch-src_entity_entity.pro
+3-3cad/qtjsapi/distinfo
+3-3cad/qcadjsapi/distinfo
+3-3cad/qcad/distinfo
+4-1cad/qcad/Makefile
+24,297-5,3084 files not shown
+24,303-5,31410 files

LLVM/project 11e915flld/ELF SyntheticSections.cpp, llvm/include/llvm/ADT FoldingSet.h

[FoldingSet] Add typed lookup/insert/erase/getOrInsert (#219644)

FindNodeOrInsertPos hands the insertion state to InsertNode as a `void *`:
any pointer converts to it, only a comment says where it may come from,
and since the switch to linear probing the value is the node's hash, not
a position at all.

Carry it in FoldingSetInsertToken instead, the hash wrapped in a type
whose constructor and accessor are private to FoldingSetBase, with
NotAHash as the no-token state. The `void *` overloads remain,
forwarding to the typed ones, until their callers are migrated.

LLM-aided
DeltaFile
+85-38llvm/include/llvm/ADT/FoldingSet.h
+42-45llvm/lib/TableGen/Record.cpp
+43-26llvm/unittests/ADT/FoldingSet.cpp
+23-10llvm/lib/Support/FoldingSet.cpp
+3-3lld/ELF/SyntheticSections.cpp
+196-1225 files

LLVM/project 93c6f4fclang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp, clang/test/Analysis/Scalable/source-edit-generation end-to-end-cpp-bounded-buffers.cpp

[SSAF][clang-reforge] Add end-to-end clang-reforge tests

- Make CppBoundedBuffers adapt to flattened WPA results;
- Let CppBoundedBuffers use qualified EntityNames so that it can
  associate ASTNodes with WPA results;
- Add end-to-end tests

Final step of:
rdar://185840466
DeltaFile
+623-0clang/test/Analysis/Scalable/source-edit-generation/end-to-end-cpp-bounded-buffers.cpp
+23-9clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+22-4clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+668-133 files

LLVM/project acb8ba4clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp, clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp

[SSAF] Flatten 'UnsafeBufferReachableAnalysisResult' to a plain set

Previously, an 'UnsafeBufferReachableAnalysisResult' was organized as
a map from contributors to their mutually exclusive
sub-results. Because this extra layer of contributor information
proved unnecessary, this commit flattens the result into a plain set.

The source transformation expects the result to be a plain set, so
this is a prerequisite step for
rdar://185840466
DeltaFile
+10-10clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+5-11clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-new-delete.cpp
+4-7clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+1-4clang/unittests/ScalableStaticAnalysis/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+1-3clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+0-3clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-main.cpp
+21-381 files not shown
+23-397 files

LLVM/project 61a82f0clang/include/clang/ScalableStaticAnalysis/Core ASTEntityMapping.h, clang/include/clang/ScalableStaticAnalysis/SourceTransformation Transformation.h

[SSAF] Add APIs for resolving bare EntityNames to qualified EntityNames

Also give Transformation access to SSAFOptions so that it can use
link-unit and compilation-unit IDs to resolve bare EntityNames.

first step of
rdar://185840466
DeltaFile
+64-0clang/lib/ScalableStaticAnalysis/Core/ASTEntityMapping.cpp
+0-41clang/lib/ScalableStaticAnalysis/Core/TUSummary/TUSummaryExtractor.cpp
+35-0clang/unittests/ScalableStaticAnalysis/ASTEntityMappingTest.cpp
+26-0clang/include/clang/ScalableStaticAnalysis/Core/ASTEntityMapping.h
+5-5clang/lib/ScalableStaticAnalysis/Core/EntityLinker/EntityLinker.cpp
+6-3clang/include/clang/ScalableStaticAnalysis/SourceTransformation/Transformation.h
+136-498 files not shown
+172-5714 files