[all-commits] [llvm/llvm-project] 6eb351: [HLSL] Allow narrowing in initialization lists (#1...
Chris B via All-commits
all-commits at lists.llvm.org
Thu Sep 12 10:03:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6eb3519fd70bb50bc3773fdf0bf9435dae2abfe7
https://github.com/llvm/llvm-project/commit/6eb3519fd70bb50bc3773fdf0bf9435dae2abfe7
Author: Chris B <chris.bieneman at me.com>
Date: 2024-09-12 (Thu, 12 Sep 2024)
Changed paths:
M clang/lib/Sema/SemaInit.cpp
M clang/test/AST/HLSL/vector-constructors.hlsl
Log Message:
-----------
[HLSL] Allow narrowing in initialization lists (#108035)
HLSL's initialization lists are _extremely_ generous about allowing
conversions. This change demotes the C++11 warning to the legacy warning
when in HLSL mode.
Required for #56067
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