[clang-doc] Add class member enums to template (#173958)
Some Mustache tags for member enums already existed in the class
template, but they weren't compatible with the current JSON scheme.
[mlir][python] fix symbol resolution on MacOS with multiple packages (#174057)
# Problem:
There are two build system bugs on MacOS in the case where one intends
to use multiple bindings packages simultaneously (same Python
interpreter session):
1. The nanobind modules are built with
[`-Wl,-flat_namespace`](https://github.com/llvm/llvm-project/blob/8518d2c4057d9aa4249b8466a4d77771e4f1bf4f/llvm/cmake/modules/HandleLLVMOptions.cmake#L268)
thereby leading to ambiguous symbols across multiple whatever dylibs;
2. Intra-library symbol resolution (within the C API aggregate dylib)
fails to resolve symbols correctly unless things are built with
`-DCMAKE_C_VISIBILITY_PRESET=hidden -DCMAKE_CXX_VISIBILITY_PRESET=hidden
-DCMAKE_VISIBILITY_INLINES_HIDDEN=ON`.
# Repro:
On a Mac (with this patch applied):
[51 lines not shown]
[Bazel] Fix buildifier failures
502c34250420eff47318568ab154f0a66c4a2324 fixed the build, but did not
order the dependencies correctly, so this broke buildifier.
[IRBuilder] Introduce CreateSelectFMFWithUnknownProfile (#174162)
This came up in review feedback in
c163e7a72249cbc8105fbc5cc6a772e5dc90c94d. This function makes it easier
to create select instructions that propagate fast math flags with
unknown profile info, which is a common case. This mirrors the already
existing CreateSelectWithUknownProfile helper.
[clang-doc] Add friends to class template
This patch also allows comments to be associated with friend
declarations. Currently, it seems like the comments for friend `RecordDecl`
are taken from the actual class declaration, while a friend
function's comments are taken from the actual `friend` declaration.
[clang-doc] Add class member enums to template
Some Mustache tags for member enums already existed in the class
template, but they weren't compatible with the current JSON scheme.
[mlir] Move affine's FoldMemRefAliasOps into its own pass (#172548)
I'm planning to introduce an interface that'll allow FoldMemRefAliasOps
to not know about dialects like NVVM or GPU. To do this, however, I need
to get the `affine` ops (which need special handling in order to handle
their implicit affine maps) into a separate pass, analogously to how
`amdgpu` ops have these patterns under their dialect and ton under
`memref`.
This commit also changes the expand/collapse_shape index resolvers to
return `void`, since they never actually failed and to make it clearer
that they modify IR.
(Note: An LLM did the initial refactoring and test movement, I've
reviewed the results and edited them some.)
[AMDGPU] Add `nocreateundeforpoison` annotations (#166450)
This commit goes through IntrinsicsAMDGPU.td and adds
`nocreateundeforpoison` to intrinsics that (to my knowledge) perform
arithmetic operations that are defined everywhere (so no bitfield
extracts and such since those can have invalid inputs, and similarly for permutations).
[clang][bytecode] Fix void*-to-ptr casts originating from new/new[] (#174132)
In void*-to-ptr casts, the type of the pointed-to object in the source
operand needs to be compared to the target pointee type.
If a block was created for a `new`/`new[]`/`std::allocator` expression,
then a pointer needs to be stripped from the type of the expression
(which points to the single-object allocation or first element of the
allocation) to get the former.
`Descriptor::getType` did not do this and `Descriptor::getDataType`
returns an array type for array allocations. Therefore this introduces a
new function `Descriptor::getDataElemType` with the same behavior as
`Descriptor::getDataType`, except that it always produces the element
type in the array case and avoids the need for an `ASTContext`
reference. Make `Pointer::getType` use this function instead.
Fixes #174131
[lldb][ClangExpressionDeclMap][NFC] Remove redundant std::string cast
`getName` is an `llvm::StringRef`, which we can safely compare against a `const char*`. So there's no need to go via `std::string`.
dbmail: update to 3.5.5
pkgsrc changes:
package now creates an unprivileged user
conf file subsitutions for sane pgksrc defaults
3.5.5
DBMail 3.5.5 offers new features and a few bug fixes, including a new
authentication method, improved support for Postfix, logging improvements
and listing forwarders.
DBMail 3.5.4
Te main changes are better support for docker and systemd, MySQL compression
and an anomaly in how libzdb handles NULLs.
Version 3.5.3
Various memory leaks fixed
Fix invalid free and invalid read
sieve port changed to 4190 as per rfc5804
[20 lines not shown]
Merge tag 'drm-fixes-2026-01-02' of https://gitlab.freedesktop.org/drm/kernel
Pull drm fixes from Dave Airlie:
"Happy New Year, jetlagged fixes from me, still pretty quiet, xe is
most of this, with i915/nouveau/imagination fixes and some shmem
cleanups.
shmem:
- docs and MODULE_LICENSE fix
xe:
- Ensure svm device memory is idle before migration completes
- Fix a SVM debug printout
- Use READ_ONCE() / WRITE_ONCE() for g2h_fence
i915:
- Fix eb_lookup_vmas() failure path
nouveau:
[14 lines not shown]
libzdb: update to 3.5.0
Version 3.5.0
Added numeric DB error codes and SQLSTATE support (PostgreSQL).
Blocks MySQL proxies by default due to protocol issues.
Oracle cleanup; supports 18c+, fixes transaction bugs.
More reliable MySQL/PostgreSQL ping and reconnect behavior.
Fixed multi-threaded pool memory and locking issues.
Version 3.4.1
ConnectionPool can report database type.
Optional SQLite shared cache for better concurrency.
SSL/TLS options added to MySQL and PostgreSQL URLs.
Removed SQLite heap_limit URL parameter.
Version 3.4.0
Configurable transaction isolation on begin.
New valueOr macro for safer return handling.
SQLite multi-thread mode enabled by default.
[8 lines not shown]
[clang-doc] Add friends to class template
This patch also allows comments to be associated with friend
declarations. Currently, it seems like the comments for friend `RecordDecl`
are taken from the actual class declaration, while a friend
function's comments are taken from the actual `friend` declaration.
[clang-doc] Add class member enums to template
Some Mustache tags for member enums already existed in the class
template, but they weren't compatible with the current JSON scheme.