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

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 24 15:34:36 PST 2024


================
@@ -3569,6 +3569,7 @@ bool Expr::HasSideEffects(const ASTContext &Ctx,
   case ConceptSpecializationExprClass:
   case RequiresExprClass:
   case SYCLUniqueStableNameExprClass:
+  case HLSLArrayTemporaryExprClass:
----------------
efriedma-quic wrote:

This looks wrong; I think you need the recursive visit here?

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


More information about the cfe-commits mailing list