mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 11:36:52 +00:00

* Move parts of `InitializationSequence::InitializeFrom` corresponding to C++ [dcl.init.general] p16.6.1 and p16.6.2 into a separate function,`TryConstructorOrParenListInitialization` * Use it in `TryListInitialization` to implement [dcl.init.list] p3.2 * Fix parenthesized aggregate initialization being attempted in copy-initialization contexts or when the constructor call is ambiguous Co-authored-by: cor3ntin <corentinjabot@gmail.com>