[clang] [HLSL] Implement HLSL Flat casting (excluding splat cases) (PR #118842)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 23 16:49:32 PST 2025


================
@@ -707,6 +707,7 @@ ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty,
     case CK_ToVoid:
     case CK_NonAtomicToAtomic:
     case CK_HLSLArrayRValue:
+    case CK_HLSLAggregateCast:
----------------
llvm-beanz wrote:

Nope, this cast should not ever be implicit.

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


More information about the cfe-commits mailing list