[clang] [clang][Sema] fix incorrect ambiguous function call which use designated-initializer as template argument (PR #167159)

Zhikai Zeng via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 8 22:52:36 PST 2025


================
@@ -459,6 +459,8 @@ Bug Fixes in This Version
 - Fixed a crash triggered by unterminated ``__has_embed``. (#GH162953)
 - Accept empty enumerations in MSVC-compatible C mode. (#GH114402)
 - Fixed false-positive shadow diagnostics for lambdas in explicit object member functions. (#GH163731)
+- Fixed an incorrect diagnostic for ambiguous function call that use a 
+  designated-initializer as template argument. (#GH166784)
----------------
Backl1ght wrote:

done.

https://github.com/llvm/llvm-project/pull/167159


More information about the cfe-commits mailing list