[flang-commits] [flang] [flang][OpenMP] Add structure checks for DECLARE VARIANT (PR #198799)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Fri May 29 08:27:52 PDT 2026


================
@@ -127,6 +127,9 @@ class OmpStructureChecker : public OmpStructureCheckerBase {
 
   void Enter(const parser::OmpDeclareVariantDirective &);
   void Leave(const parser::OmpDeclareVariantDirective &);
+  void CheckOmpDeclareVariantDirective(
+      const parser::OmpDeclareVariantDirective &);
+  void CheckDeclareVariantUserConditions(const parser::OmpContextSelector &);
----------------
abidh wrote:

Done.

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


More information about the flang-commits mailing list