LLVM/project e490b43clang/lib/Rewrite HTMLRewrite.cpp, clang/lib/StaticAnalyzer/Core HTMLDiagnostics.cpp

[analyzer] Fix invalid HTML nesting for popups at end of line (#207793)

The static analyzer's HTML reports contain misnested tags whenever a
variable with a `variable_popup` is the last token on a source line.
`AddLineNumber` inserts the row-closing `</td></tr>` with `InsertTextBefore`, which
places it in front of text previously inserted at the same offset. As a result,
the popup's closing `</table></span>` tags and the arrow anchor `</span>`
tags end up outside the table row. HTML parsers (jsoup, pup) and validators
reject the file from that point on.

Before:

<span class='variable'>b</td></tr><table
class='variable_popup'>...</table></span></span></span>

<img width="786" height="414" alt="image"
src="https://github.com/user-attachments/assets/023461ad-73e4-424e-a4fb-42faf7a945f0"
/>


    [28 lines not shown]
DeltaFile
+23-0clang/test/Analysis/html_diagnostics/variable-popups-eol.c
+8-5clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
+1-1clang/lib/Rewrite/HTMLRewrite.cpp
+32-63 files

FreeBSD/ports cb66985databases/ladybug distinfo Makefile

databases/ladybug: Update 0.18.0 => 0.18.1

Changelog:
https://github.com/LadybugDB/ladybug/releases/tag/v0.18.1

PR:             296684
Sponsored by:   UNIS Labs
MFH:            2026Q3

(cherry picked from commit 4e7586e42b2c05048a91e372a4cdd05032df1e6e)
DeltaFile
+3-3databases/ladybug/distinfo
+2-2databases/ladybug/Makefile
+5-52 files

FreeBSD/ports 4e7586edatabases/ladybug distinfo Makefile

databases/ladybug: Update 0.18.0 => 0.18.1

Changelog:
https://github.com/LadybugDB/ladybug/releases/tag/v0.18.1

PR:             296684
Sponsored by:   UNIS Labs
MFH:            2026Q3
DeltaFile
+3-3databases/ladybug/distinfo
+2-2databases/ladybug/Makefile
+5-52 files

LLVM/project 79ebcadclang/lib/StaticAnalyzer/Checkers BlockInCriticalSectionChecker.cpp, clang/test/Analysis block-in-critical-section-raii.cpp

[analyzer] Prevent inlining RAII ctors/dtors (#208729)

BlockInCriticalSectionChecker registers the pre-call for the RAII ctors
and Dtors - and also the raw 'lock' and 'unlock' handlers.

However, pre-call does not prevent inlining. This means that (in the
likely case of) that the body is present, the analyzer will model the
effect of the lock twice. This happens on libc++ unique_lock.

We really should have eval-called the ctor/dtor to avoid the inlining of
those, but here we are.

rdar://175814310
DeltaFile
+53-0clang/test/Analysis/block-in-critical-section-raii.cpp
+40-9clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
+93-92 files

FreeBSD/ports b58cd2fnet/nfstrace Makefile

net/nfstrace: Fix build with json-c 0.19

json-c 0.19 added static inline accessors to <json-c/linkhash.h>,
which trigger -Wunused-function when building the bundled JSON
analyzer with -Werror.

Suppress the warning by adding -Wno-unused-function to CFLAGS.

Reported by:    olgeni
Differential Revision: https://reviews.freebsd.org/D58135
DeltaFile
+2-2net/nfstrace/Makefile
+2-21 files

NetBSD/src XIfiDSfsys/arch/aarch64/aarch64 locore.S

   More EL2 registers in DEBUG_LOCORE output
VersionDeltaFile
1.107+5-2sys/arch/aarch64/aarch64/locore.S
+5-21 files

FreeBSD/ports a065e3esysutils/rubygem-tmuxinator distinfo Makefile

sysutils/rubygem-tmuxinator: Update to 3.4.1

Changes:        https://github.com/tmuxinator/tmuxinator/releases
DeltaFile
+3-3sysutils/rubygem-tmuxinator/distinfo
+1-1sysutils/rubygem-tmuxinator/Makefile
+4-42 files

FreeBSD/ports 5488df9net/rubygem-omniauth-twitter distinfo Makefile

net/rubygem-omniauth-twitter: Update to 1.5.0

Changes:        https://github.com/arunagw/omniauth-twitter/blob/master/CHANGELOG.md
DeltaFile
+3-3net/rubygem-omniauth-twitter/distinfo
+3-2net/rubygem-omniauth-twitter/Makefile
+6-52 files

FreeBSD/ports 008f57dnet/rubygem-devfile distinfo Makefile

net/rubygem-devfile: Update to 0.5.1

Changes:        https://gitlab.com/gitlab-org/ruby/gems/devfile-gem/-/commits/main
DeltaFile
+3-3net/rubygem-devfile/distinfo
+1-1net/rubygem-devfile/Makefile
+4-42 files

FreeBSD/ports 21af9d2mail/rubygem-mail distinfo Makefile

mail/rubygem-mail: Update to 2.9.1

Changes:        https://github.com/mikel/mail/releases
DeltaFile
+3-3mail/rubygem-mail/distinfo
+1-1mail/rubygem-mail/Makefile
+4-42 files

FreeBSD/ports 2b84cbadevel/rubygem-tilt distinfo Makefile

devel/rubygem-tilt: Update to 2.8.0

Changes:        https://github.com/jeremyevans/tilt/blob/master/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-tilt/distinfo
+1-1devel/rubygem-tilt/Makefile
+4-42 files

FreeBSD/ports 5439d5bgraphics/rubygem-rmagick distinfo Makefile

graphics/rubygem-rmagick: Update to 7.0.5

Changes:        https://github.com/rmagick/rmagick/blob/main/CHANGELOG.md
DeltaFile
+3-3graphics/rubygem-rmagick/distinfo
+1-1graphics/rubygem-rmagick/Makefile
+4-42 files

FreeBSD/ports c05d6cadevel/rubygem-hoe distinfo Makefile

devel/rubygem-hoe: Update to 4.7.1

Changes:        https://github.com/seattlerb/hoe/blob/master/History.rdoc
                https://docs.seattlerb.org/hoe/History_rdoc.html
DeltaFile
+3-3devel/rubygem-hoe/distinfo
+1-1devel/rubygem-hoe/Makefile
+4-42 files

FreeBSD/ports cf35413devel/rubygem-sequel distinfo Makefile

devel/rubygem-sequel: Update to 5.106.0

Changes:        https://github.com/jeremyevans/sequel/blob/master/CHANGELOG
                https://sequel.jeremyevans.net/rdoc/files/CHANGELOG.html
DeltaFile
+3-3devel/rubygem-sequel/distinfo
+1-1devel/rubygem-sequel/Makefile
+4-42 files

FreeBSD/ports 04e4116net/rubygem-google-cloud-storage distinfo Makefile

net/rubygem-google-cloud-storage: Update to 1.62.0

Changes:        https://github.com/googleapis/google-cloud-ruby/releases
                https://github.com/googleapis/google-cloud-ruby/blob/main/google-cloud-storage/CHANGELOG.md
DeltaFile
+3-3net/rubygem-google-cloud-storage/distinfo
+1-1net/rubygem-google-cloud-storage/Makefile
+4-42 files

FreeBSD/ports 323799cwww/rubygem-passenger distinfo Makefile, www/rubygem-passenger/files patch-gemspec

www/rubygem-passenger: Update to 6.1.7

Changes:        https://github.com/phusion/passenger/releases
DeltaFile
+3-3www/rubygem-passenger/distinfo
+2-2www/rubygem-passenger/files/patch-gemspec
+1-1www/rubygem-passenger/Makefile
+6-63 files

FreeBSD/ports cf1db9ctextproc/rubygem-commonmarker distinfo Makefile.crates

textproc/rubygem-commonmarker: Update to 2.8.3

Changes:        https://github.com/gjtorikian/commonmarker/releases
DeltaFile
+87-163textproc/rubygem-commonmarker/distinfo
+42-80textproc/rubygem-commonmarker/Makefile.crates
+1-2textproc/rubygem-commonmarker/Makefile
+130-2453 files

FreeBSD/ports 25e2cd1net/rubygem-google-cloud-env distinfo Makefile

net/rubygem-google-cloud-env: Update to 2.4.0

Changes:        https://github.com/googleapis/ruby-cloud-env/releases
DeltaFile
+3-3net/rubygem-google-cloud-env/distinfo
+1-1net/rubygem-google-cloud-env/Makefile
+4-42 files

FreeBSD/ports b75e6bemisc/rubygem-octicons distinfo Makefile

misc/rubygem-octicons: Update to 19.29.1

Changes:        https://github.com/primer/octicons/releases
DeltaFile
+3-3misc/rubygem-octicons/distinfo
+1-1misc/rubygem-octicons/Makefile
+4-42 files

FreeBSD/ports d16b8b6devel/rubygem-sorbet-runtime distinfo Makefile

devel/rubygem-sorbet-runtime: Update to 0.6.13323

Changes:        https://github.com/sorbet/sorbet/releases
DeltaFile
+3-3devel/rubygem-sorbet-runtime/distinfo
+1-1devel/rubygem-sorbet-runtime/Makefile
+4-42 files

FreeBSD/ports a07ac17misc/rubygem-mime-types-data distinfo Makefile

misc/rubygem-mime-types-data: Update to 3.2026.0701

Changes:        https://github.com/mime-types/mime-types-data/blob/main/CHANGELOG.md
DeltaFile
+3-3misc/rubygem-mime-types-data/distinfo
+1-1misc/rubygem-mime-types-data/Makefile
+4-42 files

FreeBSD/ports 882af80devel/rubygem-xdg distinfo Makefile

devel/rubygem-xdg: Update to 10.3.0

Changes:        https://github.com/bkuhlmann/xdg/commits/main
DeltaFile
+3-3devel/rubygem-xdg/distinfo
+1-1devel/rubygem-xdg/Makefile
+4-42 files

FreeBSD/ports 2ec4d66devel/rubygem-ruby-lsp distinfo Makefile

devel/rubygem-ruby-lsp: Update to 0.26.10

Changes:        https://github.com/Shopify/ruby-lsp/releases
DeltaFile
+3-3devel/rubygem-ruby-lsp/distinfo
+1-1devel/rubygem-ruby-lsp/Makefile
+4-42 files

FreeBSD/ports 884defbdevel/rubygem-rubocop-ast distinfo Makefile

devel/rubygem-rubocop-ast: Update to 1.50.0

Changes:        https://github.com/rubocop/rubocop-ast/releases
                https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-rubocop-ast/distinfo
+1-1devel/rubygem-rubocop-ast/Makefile
+4-42 files

FreeBSD/ports 6843470devel/rubygem-retriable3 distinfo Makefile

devel/rubygem-retriable3: Update to 3.8.0

Changes:        https://github.com/kamui/retriable/releases
DeltaFile
+3-3devel/rubygem-retriable3/distinfo
+1-1devel/rubygem-retriable3/Makefile
+4-42 files

FreeBSD/ports bf3c319devel/rubygem-rubocop distinfo Makefile

devel/rubygem-rubocop: Update to 1.88.1

Changes:        https://github.com/rubocop/rubocop/releases
DeltaFile
+3-3devel/rubygem-rubocop/distinfo
+1-1devel/rubygem-rubocop/Makefile
+4-42 files

FreeBSD/ports 2dd8055devel/rubygem-opentelemetry-instrumentation-gruf distinfo Makefile

devel/rubygem-opentelemetry-instrumentation-gruf: Update to 0.6.2

Changes:        https://github.com/open-telemetry/opentelemetry-ruby-contrib/releases
                https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/gruf/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-opentelemetry-instrumentation-gruf/distinfo
+1-1devel/rubygem-opentelemetry-instrumentation-gruf/Makefile
+4-42 files

FreeBSD/ports d770112devel/rubygem-nori distinfo Makefile

devel/rubygem-nori: Update to 2.9.1

Changes:        https://github.com/savonrb/nori/releases
DeltaFile
+3-3devel/rubygem-nori/distinfo
+3-2devel/rubygem-nori/Makefile
+6-52 files

FreeBSD/ports 13bcbaddevel/rubygem-opentelemetry-semantic_conventions distinfo Makefile

devel/rubygem-opentelemetry-semantic_conventions: Update to 1.42.0

Changes:        https://github.com/open-telemetry/opentelemetry-ruby/releases
                https://github.com/open-telemetry/opentelemetry-ruby/blob/main/semantic_conventions/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-opentelemetry-semantic_conventions/distinfo
+1-1devel/rubygem-opentelemetry-semantic_conventions/Makefile
+4-42 files

FreeBSD/ports bd7562ddevel/rubygem-mcp distinfo Makefile

devel/rubygem-mcp: Update to 0.23.0

Changes:        https://github.com/modelcontextprotocol/ruby-sdk/releases
                https://github.com/modelcontextprotocol/ruby-sdk/blob/main/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-mcp/distinfo
+1-1devel/rubygem-mcp/Makefile
+4-42 files