[clang] [clang][OpenMP] Fix crashes on target regions inside namespace-scope lambdas and blocks (PR #226691)

Akash Manna via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 27 21:43:39 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
----------------
akash-manna-sky wrote:

The codegen checks are now in a separate `target_global_ref_namespace_scope_lambda_codegen.cpp`.


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


More information about the cfe-commits mailing list