[clang] [Clang][OpenMP] throw compilation error instead of crash in Stmt::OMPScopeDirectiveClass case (#77535) (PR #84135)

via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 6 16:21:05 PST 2024


================
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -emit-obj -verify -fopenmp %s
----------------
Puellaquae wrote:

during testing, I found it can't produce this error without `-emit-obj`

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


More information about the cfe-commits mailing list