[llvm-branch-commits] [flang] [flang][OpenMP] Move check for substring to semantic checks (PR #201384)

Krzysztof Parzyszek via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 4 09:46:55 PDT 2026


================
@@ -8,7 +8,7 @@
 
   b = "HIFROMPGI"
   c = b(2:7)
-  !ERROR: Substrings are not allowed on OpenMP directives or clauses
+  !ERROR: A substrincg cannot appear in a PRIVATE clause
----------------
kparzysz wrote:

```suggestion
  !ERROR: A substring cannot appear in a PRIVATE clause
```

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


More information about the llvm-branch-commits mailing list