[llvm] r276150 - [OptDiag] Fix function comment

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 11:16:45 PDT 2016


Author: anemet
Date: Wed Jul 20 13:16:45 2016
New Revision: 276150

URL: http://llvm.org/viewvc/llvm-project?rev=276150&view=rev
Log:
[OptDiag] Fix function comment

Function is not passed unlike in the original of this
(llvm::emitOptimizationRemarkMissed).

Modified:
    llvm/trunk/include/llvm/Analysis/OptimizationDiagnosticInfo.h

Modified: llvm/trunk/include/llvm/Analysis/OptimizationDiagnosticInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/OptimizationDiagnosticInfo.h?rev=276150&r1=276149&r2=276150&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/OptimizationDiagnosticInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/OptimizationDiagnosticInfo.h Wed Jul 20 13:16:45 2016
@@ -47,10 +47,9 @@ public:
   ///
   /// \p PassName is the name of the pass emitting the message. If
   /// -Rpass-missed= is given and the name matches the regular expression in
-  /// -Rpass, then the remark will be emitted. \p Fn is the function triggering
-  /// the remark, \p DLoc is the debug location where the diagnostic is
-  /// generated. \p V is the IR Value that identifies the code region. \p Msg is
-  /// the message string to use.
+  /// -Rpass, then the remark will be emitted.  \p DLoc is the debug location
+  /// where the diagnostic is generated. \p V is the IR Value that identifies
+  /// the code region. \p Msg is the message string to use.
   void emitOptimizationRemarkMissed(const char *PassName, const DebugLoc &DLoc,
                                     Value *V, const Twine &Msg);
 




More information about the llvm-commits mailing list