[llvm] b196c71 - Fix Wdocumentation warning. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 09:47:09 PDT 2020


Author: Simon Pilgrim
Date: 2020-09-03T17:43:34+01:00
New Revision: b196c7192ff3d3700e77691bdc13fc14b0f46502

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

LOG: Fix Wdocumentation warning. NFCI.

Remove \returns tag from a void function

Added: 
    

Modified: 
    llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index a0e85c82868f..cfaec85d3f3d 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -1313,7 +1313,6 @@ class InstrRefBasedLDV : public LDVImpl {
   bool transferSpillOrRestoreInst(MachineInstr &MI);
 
   /// Examines \p MI for any registers that it defines, and notifies trackers.
-  /// \returns true if MI was recognized and processed.
   void transferRegisterDef(MachineInstr &MI);
 
   /// Copy one location to the other, accounting for movement of subregisters


        


More information about the llvm-commits mailing list