[clang] [HLSL] Implement array temporary support (PR #79382)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 12 15:50:06 PDT 2024


================
@@ -500,6 +500,7 @@ ComplexPairTy ComplexExprEmitter::EmitCast(CastKind CK, Expr *Op,
   case CK_NoOp:
   case CK_LValueToRValue:
   case CK_UserDefinedConversion:
+  case CK_HLSLArrayRValue:
----------------
efriedma-quic wrote:

The result of an CK_HLSLArrayRValue can't be a complex type.

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


More information about the cfe-commits mailing list