[llvm] 604206b - Fix Wdocumentation unknown parameter warnings. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 08:56:01 PDT 2020


Author: Simon Pilgrim
Date: 2020-09-21T16:54:26+01:00
New Revision: 604206b61cb948c01b438dd06b3b7bc837e99455

URL: https://github.com/llvm/llvm-project/commit/604206b61cb948c01b438dd06b3b7bc837e99455
DIFF: https://github.com/llvm/llvm-project/commit/604206b61cb948c01b438dd06b3b7bc837e99455.diff

LOG: Fix Wdocumentation unknown parameter warnings. NFCI.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/IRSimilarityIdentifier.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/IRSimilarityIdentifier.h b/llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
index 56eacc974c3f..457b867f345e 100644
--- a/llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
+++ b/llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
@@ -145,7 +145,7 @@ struct IRInstructionData : ilist_node<IRInstructionData> {
   /// instructions, so it will also be hashed to a 
diff erent value that any of
   /// the previous instructions.
   ///
-  /// \param [in] Value - The IRInstructionData instance to be hashed.
+  /// \param [in] ID - The IRInstructionData instance to be hashed.
   /// \returns A hash_value of the IRInstructionData.
   friend hash_code hash_value(const IRInstructionData &ID) {
     SmallVector<Type *, 4> OperTypes;
@@ -308,8 +308,8 @@ struct IRInstructionMapper {
   /// \param [in] It - The Instruction to be mapped to an integer.
   /// \param [in,out] IntegerMappingForBB - Vector of unsigned integers to
   /// append to.
-  /// \param [in,out] InstrList - Vector of InstructionData to append
-  /// to. \returns The integer \p It was mapped to.
+  /// \param [in,out] InstrListForBB - Vector of InstructionData to append to.
+  /// \returns The integer \p It was mapped to.
   unsigned mapToLegalUnsigned(BasicBlock::iterator &It,
                               std::vector<unsigned> &IntegerMappingForBB,
                               std::vector<IRInstructionData *> &InstrListForBB);
@@ -319,7 +319,7 @@ struct IRInstructionMapper {
   /// \param [in] It - The \p Instruction to be mapped to an integer.
   /// \param [in,out] IntegerMappingForBB - Vector of unsigned integers to
   /// append to.
-  /// \param [in,out] InstrList - Vector of IRInstructionData to append to.
+  /// \param [in,out] InstrListForBB - Vector of IRInstructionData to append to.
   /// \param End - true if creating a dummy IRInstructionData at the end of a
   /// basic block.
   /// \returns The integer \p It was mapped to.


        


More information about the llvm-commits mailing list