[flang-commits] [flang] [flang][OpenMP] Skip implicit typing for DeclareSimdConstruct (PR #142415)

Kajetan Puchalski via flang-commits flang-commits at lists.llvm.org
Tue Jun 3 07:08:59 PDT 2025


================
@@ -1513,8 +1513,12 @@ class OmpVisitor : public virtual DeclarationVisitor {
 
   bool Pre(const parser::OpenMPDeclareSimdConstruct &x) {
     AddOmpSourceRange(x.source);
+    SkipImplicitTyping(true);
     return true;
   }
+  void Post(const parser::OpenMPDeclareSimdConstruct &x) {
+    SkipImplicitTyping(false);
----------------
mrkajetanp wrote:

You're right, they're no longer required. Done!

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


More information about the flang-commits mailing list