Author: abataev
Date: Tue Oct 15 12:51:30 2019
New Revision: 374943

URL: http://llvm.org/viewvc/llvm-project?rev=374943&view=rev
Log:
[OPENMP]Fix comments/params, NFC.

Modified:
    cfe/trunk/include/clang/AST/OpenMPClause.h

Modified: cfe/trunk/include/clang/AST/OpenMPClause.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/OpenMPClause.h?rev=374943&r1=374942&r2=374943&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/OpenMPClause.h (original)
+++ cfe/trunk/include/clang/AST/OpenMPClause.h Tue Oct 15 12:51:30 2019
@@ -534,20 +534,19 @@ class OMPFinalClause : public OMPClause,
 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.


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to