[llvm] r313383 - Improve comment
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 12:38:01 PDT 2017
Author: anemet
Date: Fri Sep 15 12:38:01 2017
New Revision: 313383
URL: http://llvm.org/viewvc/llvm-project?rev=313383&view=rev
Log:
Improve comment
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=313383&r1=313382&r2=313383&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/OptimizationDiagnosticInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/OptimizationDiagnosticInfo.h Fri Sep 15 12:38:01 2017
@@ -67,8 +67,8 @@ public:
bool invalidate(Function &F, const PreservedAnalyses &PA,
FunctionAnalysisManager::Invalidator &Inv);
- /// \brief Output the remark via the diagnostic handler and to the
- /// optimization record file.
+ /// \brief Output the remark to the optimization record file. Also send it to
+ /// the diagnostic handler if remarks are requested for the pass.
void emit(DiagnosticInfoOptimizationBase &OptDiag);
/// \brief Whether we allow for extra compile-time budget to perform more
More information about the llvm-commits
mailing list