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

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Thu Apr 4 15:57:18 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);
----------------
klausler wrote:

Please always use the safer form of initialization with braces in semantics.

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


More information about the flang-commits mailing list