[clang] [HLSL] Allow a groupshared struct to be passed as an implicit parameter (PR #229939)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 20:00:52 PDT 2026


================
@@ -278,8 +278,18 @@ RValue CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(
     }
   }
 
-  auto getLValueForThis = [this, IsArrow,
-                           Base](bool EmitCheckedForStore = false) {
+  LValue HLSLThisLValue;
----------------
hekota wrote:

```suggestion
  std::optional<LValue> HLSLThisLValue;
```

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


More information about the cfe-commits mailing list