================
@@ -2214,6 +2214,17 @@ Parser::DeclGroupPtrTy 
Parser::ParseOpenMPDeclarativeDirectiveWithExtDecl(
           << (DKind == OMPD_declare_simd ? 0 : 1);
       return DeclGroupPtrTy();
     }
+
+    DeclGroupRef DG = Ptr.get();
----------------
TPPPP72 wrote:

No. The current OpenMP parser stuffs declarations that do not meet positional 
constraints into a `DeclGroup`, so filtering is performed downstream.

https://github.com/llvm/llvm-project/pull/217875
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to