[clang] [OpenMP] Fix crash with extern reference and diagnose loop variable reuse in collapsed loops. (PR #203252)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 13 12:45:42 PDT 2026


================
@@ -0,0 +1,107 @@
+// RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=51 %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -fopenmp-version=51 %s
+
+// This test verify two behaviors:
----------------
alexey-bataev wrote:

```suggestion
// This test verifies two behaviors:
```

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


More information about the cfe-commits mailing list