[all-commits] [llvm/llvm-project] cd67cf: [clang] Simplify the overload resolution logic for...
Oliver Hunt via All-commits
all-commits at lists.llvm.org
Sat Aug 8 17:06:15 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cd67cfecb1a154d0759783ae926f8b44c104d7d3
https://github.com/llvm/llvm-project/commit/cd67cfecb1a154d0759783ae926f8b44c104d7d3
Author: Oliver Hunt <oliver at apple.com>
Date: 2026-08-08 (Sat, 08 Aug 2026)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
A clang/include/clang/Sema/DynamicAllocationArgumentsCXX.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaCoroutine.cpp
M clang/lib/Sema/SemaExprCXX.cpp
A clang/test/SemaCXX/microsoft-new-array-fallback.cpp
A clang/test/SemaCXX/type-aware-new-invalid-alignvalt-cache.cpp
M clang/test/SemaCXX/type-aware-new-invalid-type-identity.cpp
Log Message:
-----------
[clang] Simplify the overload resolution logic for operator new and new[] (#211482)
This PR replaces the current spec-equivalent argument list mutation with
direct iteration of the correctly ordered set of argument lists for a
given allocation.
This adds a bit of architectural work around the argument list
construction but the overall effect is substantially simplified search
of the overload candidates
LLM usage: Claude found align_val_t caching bug, and found and created a
test for reentrant `getTypeIdentityArgument`+`tryBuildStdTypeIdentity`
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list