From b28017a6b705ce06cfc0dd8e26bbe642bb30ed0f Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Fri, 15 Sep 2017 19:38:01 +0000 Subject: [PATCH] Improve comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313383 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/OptimizationDiagnosticInfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Analysis/OptimizationDiagnosticInfo.h b/include/llvm/Analysis/OptimizationDiagnosticInfo.h index 4c3b0fb949b..5d71b94e19e 100644 --- a/include/llvm/Analysis/OptimizationDiagnosticInfo.h +++ b/include/llvm/Analysis/OptimizationDiagnosticInfo.h @@ -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 -- 2.40.0