[flang-commits] [flang] [flang][cuda] Add restriction on implicit data transfer (PR #87720)

via flang-commits flang-commits at lists.llvm.org
Fri Apr 5 00:14:17 PDT 2024


================
@@ -413,4 +415,18 @@ void CUDAChecker::Enter(const parser::CUFKernelDoConstruct &x) {
   }
 }
 
+void CUDAChecker::Enter(const parser::AssignmentStmt &x) {
+  const evaluate::Assignment *assign = semantics::GetAssignment(x);
----------------
jeanPerier wrote:

```suggestion
  const evaluate::Assignment *assign{semantics::GetAssignment(x)};
```

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


More information about the flang-commits mailing list