diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2019-10-15 19:51:30 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-10-15 19:51:30 +0000 |
commit | e0e9d03fa35a52eaf8ce3823d4a4ff96421e6706 (patch) | |
tree | ba76690db06e6e6e3ee5c613de1c08691f8debc9 | |
parent | bd6b181280fd87f99e3b096264683713465ccac7 (diff) | |
download | clang-e0e9d03fa35a52eaf8ce3823d4a4ff96421e6706.tar.gz |
[OPENMP]Fix comments/params, NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374943 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/OpenMPClause.h | 7 |
1 files 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. |