diff options
Diffstat (limited to 'clang/lib/Sema/TreeTransform.h')
-rw-r--r-- | clang/lib/Sema/TreeTransform.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/TreeTransform.h b/clang/lib/Sema/TreeTransform.h index e28b9dc8529..f11f135d462 100644 --- a/clang/lib/Sema/TreeTransform.h +++ b/clang/lib/Sema/TreeTransform.h @@ -6275,11 +6275,6 @@ TreeTransform<Derived>::TransformForStmt(ForStmt *S) { if (Init.isInvalid()) return StmtError(); - // 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()) - getSema().ActOnOpenMPLoopInitialization(S->getForLoc(), Init.get()); - // Transform the condition ExprResult Cond; VarDecl *ConditionVar = nullptr; |