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

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


================
@@ -1126,6 +1126,7 @@ class ConstExprEmitter :
     case CK_NonAtomicToAtomic:
     case CK_NoOp:
     case CK_ConstructorConversion:
+    case CK_HLSLArrayRValue:
----------------
efriedma-quic wrote:

We shouldn't accept CK_HLSLArrayRValue casts here (or if we do, we need to do something different with them).

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


More information about the cfe-commits mailing list