From e0e9d03fa35a52eaf8ce3823d4a4ff96421e6706 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Tue, 15 Oct 2019 19:51:30 +0000 Subject: [PATCH] [OPENMP]Fix comments/params, NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374943 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/OpenMPClause.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/clang/AST/OpenMPClause.h b/include/clang/AST/OpenMPClause.h index 346b3e4a29..538b2c6651 100644 --- a/include/clang/AST/OpenMPClause.h +++ b/include/clang/AST/OpenMPClause.h @@ -534,20 +534,19 @@ class OMPFinalClause : public OMPClause, public OMPClauseWithPreInit { public: /// Build 'final' clause with condition \a Cond. /// - /// \param Cond final condition. + /// \param Cond Condition of the clause. /// \param HelperCond Helper condition for the construct. /// \param CaptureRegion Innermost OpenMP region where expressions in this /// clause must be captured. /// \param StartLoc Starting location of the clause. /// \param LParenLoc Location of '('. - /// \param Cond Condition of the clause. /// \param EndLoc Ending location of the clause. - OMPFinalClause(Expr *Cond, Stmt *HelperSize, + OMPFinalClause(Expr *Cond, Stmt *HelperCond, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) : OMPClause(OMPC_final, StartLoc, EndLoc), OMPClauseWithPreInit(this), LParenLoc(LParenLoc), Condition(Cond) { - setPreInitStmt(HelperSize, CaptureRegion); + setPreInitStmt(HelperCond, CaptureRegion); } /// Build an empty clause. -- 2.40.0