================
@@ -8697,7 +8697,7 @@ TreeTransform<Derived>::TransformForStmt(ForStmt *S) {
 
   // In OpenMP loop region loop control variable must be captured and be
   // private. Perform analysis of first part (if any).
-  if (getSema().getLangOpts().OpenMP && Init.isUsable())
+  if (getSema().getLangOpts().getOpenMP() && Init.isUsable())
----------------
kparzysz wrote:

Done

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

Reply via email to