================
@@ -4268,7 +4287,11 @@ bool 
Parser::parseMapTypeModifiers(SemaOpenMP::OpenMPVarListDataTy &Data) {
       }
       // Potential map-type token as it is followed by a colon.
       if (PP.LookAhead(0).is(tok::colon))
-        return false;
+        if (getLangOpts().OpenMP >= 60)
+          break;
+        else
+          return false;
+
----------------
alexey-bataev wrote:

Need extra braces here to correctly handle else

https://github.com/llvm/llvm-project/pull/90499
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to