[clang] [OpenMP] Support for `nothing` in `metadirective` (PR #73690)

Sandeep Kosuri via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 11:18:12 PST 2023


================
@@ -12,7 +12,6 @@ int mixed() {
     x=d;
   }
 
-// expected-error at +2 {{#pragma omp nothing' cannot be an immediate substatement}}
----------------
sandeepkosuri wrote:

But I don't see such a restriction for `nothing` in spec 5.1, is it really required ?

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


More information about the cfe-commits mailing list