r374943 - [OPENMP]Fix comments/params, NFC.

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 12:51:31 PDT 2019


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.




More information about the cfe-commits mailing list