[llvm] 0ee23b2 - Fix Wdocumentation unknown parameter warning. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 05:03:21 PDT 2020


Author: Simon Pilgrim
Date: 2020-08-20T12:41:34+01:00
New Revision: 0ee23b286ac48662b5e576fb837efa5564bc0578

URL: https://github.com/llvm/llvm-project/commit/0ee23b286ac48662b5e576fb837efa5564bc0578
DIFF: https://github.com/llvm/llvm-project/commit/0ee23b286ac48662b5e576fb837efa5564bc0578.diff

LOG: Fix Wdocumentation unknown parameter warning. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h b/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
index 6e636703548d..4d833ef217df 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
@@ -310,7 +310,7 @@ class CombinerHelper {
   /// LHS & mask == LHS. (E.g., an all-ones value.)
   ///
   /// \param [in] MI - The G_AND instruction.
-  /// \param [out] Reg - A register the G_AND should be replaced with on
+  /// \param [out] Replacement - A register the G_AND should be replaced with on
   /// success.
   bool matchAndWithTrivialMask(MachineInstr &MI, Register &Replacement);
 


        


More information about the llvm-commits mailing list