[clang] [HLSL] Allow narrowing in initialization lists (PR #108035)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 07:53:30 PDT 2024


llvm-beanz wrote:

> Can we test this?

It is tested. The modified test case adds a run line with `-std=hlsl202x` which fails without this change due to narrowing conversion in an initializer list.

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


More information about the cfe-commits mailing list