[clang] [clang][OpenMP] Emit host diagnostics that were deferred and never flushed (PR #220316)

via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 11 06:46:54 PDT 2026


================
@@ -1,16 +1,14 @@
 // RUN: %clang_cc1 -verify -triple x86_64-unknown-unknown -emit-llvm-only %s
-// RUN: %clang_cc1 -verify=omp -triple x86_64-unknown-unknown -emit-llvm-only -fopenmp %s
+// RUN: %clang_cc1 -verify -triple x86_64-unknown-unknown -emit-llvm-only -fopenmp %s
+// RUN: %clang_cc1 -verify -triple x86_64-unknown-unknown -emit-llvm-only -fopenmp-simd %s
+// RUN: %clang_cc1 -verify -triple x86_64-unknown-unknown -emit-llvm-only -fopenmp -fopenmp-simd %s
 typedef int vec256 __attribute__((ext_vector_type(8)));
 
----------------
pgerell wrote:

Added, with the `expected-error` it needs under `-verify`.

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


More information about the cfe-commits mailing list