[llvm] 94e1442 - Fix unknown parameter Wdocumentation warnings. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 09:49:42 PDT 2021


Author: Simon Pilgrim
Date: 2021-08-19T17:49:32+01:00
New Revision: 94e1442d78b2160eea6e8796b4d0f2667088a5f3

URL: https://github.com/llvm/llvm-project/commit/94e1442d78b2160eea6e8796b4d0f2667088a5f3
DIFF: https://github.com/llvm/llvm-project/commit/94e1442d78b2160eea6e8796b4d0f2667088a5f3.diff

LOG: Fix unknown parameter Wdocumentation warnings. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
index d856d05ce012..b982e5b7ed5f 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
@@ -592,20 +592,7 @@ class OpenMPIRBuilder {
   ///                           reduction variables.
   /// \param AllocaIP           An insertion point suitable for allocas usable
   ///                           in reductions.
-  /// \param Variables          A list of variables in which the reduction
-  ///                           results will be stored (values of pointer type).
-  /// \param PrivateVariables   A list of variables in which the partial
-  ///                           reduction results are stored (values of pointer
-  ///                           type). Coindexed with Variables. Privatization
-  ///                           must be handled separately from this call.
-  /// \param ReductionGen       A list of generators for non-atomic reduction
-  ///                           bodies. Each takes a pair of partially reduced
-  ///                           values and sets a new one.
-  /// \param AtomicReductionGen A list of generators for atomic reduction
-  ///                           bodies, empty if the reduction cannot be
-  ///                           performed with atomics. Each takes a pair of
-  ///                           _pointers_ to paritally reduced values and
-  ///                           atomically stores the result into the first.
+  /// \param ReductionInfos     A list of info on each reduction variable.
   /// \param IsNoWait           A flag set if the reduction is marked as nowait.
   InsertPointTy createReductions(const LocationDescription &Loc,
                                  InsertPointTy AllocaIP,
@@ -782,7 +769,7 @@ class OpenMPIRBuilder {
   /// \param MapnamesArg The argument names.
   /// \param MapperAllocas The AllocaInst used for the call.
   /// \param DeviceID Device ID for the call.
-  /// \param TotalNbOperand Number of operand in the call.
+  /// \param NumOperands Number of operands in the call.
   void emitMapperCall(const LocationDescription &Loc, Function *MapperFunc,
                       Value *SrcLocInfo, Value *MaptypesArg, Value *MapnamesArg,
                       struct MapperAllocas &MapperAllocas, int64_t DeviceID,


        


More information about the llvm-commits mailing list