[clang] [clang][OpenMP] Fix crashes on target regions inside namespace-scope lambdas and blocks (PR #226691)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 27 18:04:57 PDT 2026
================
@@ -0,0 +1,74 @@
+// RUN: %clang_cc1 -verify -fopenmp -fblocks -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -fblocks -fsyntax-only %s
+// RUN: %clang_cc1 -fopenmp -fblocks -DCODEGEN -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | FileCheck %s
----------------
alexey-bataev wrote:
I would add a special codegen test instead, do not mix sema/codegen tests
https://github.com/llvm/llvm-project/pull/226691
More information about the cfe-commits
mailing list