================
@@ -880,6 +880,7 @@ CGHLSLRuntime::handleStructSemanticStore(
     llvm::Value *Extract = B.CreateExtractValue(Source, I);
     AttrBegin =
         handleSemanticStore(B, FD, Extract, *FieldDecl, AttrBegin, AttrEnd);
+    ++FieldDecl;
----------------
s-perron wrote:

Should this be in the for loop above:

```
for( ...; ++I, ++FieldDecl) {
```

https://github.com/llvm/llvm-project/pull/181681
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to