summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2017-09-15 19:38:01 +0000
committerAdam Nemet <anemet@apple.com>2017-09-15 19:38:01 +0000
commit93d172f2dca6f926177a02ef0af2e95e4f9cf20b (patch)
treed9dee8080fae1a7e35efe5e88960939cbfda8dbf
parent00d887447b05bd41ec77a897978bace2af287154 (diff)
downloadbcm5719-llvm-93d172f2dca6f926177a02ef0af2e95e4f9cf20b.tar.gz
bcm5719-llvm-93d172f2dca6f926177a02ef0af2e95e4f9cf20b.zip
Improve comment
llvm-svn: 313383
-rw-r--r--llvm/include/llvm/Analysis/OptimizationDiagnosticInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Analysis/OptimizationDiagnosticInfo.h b/llvm/include/llvm/Analysis/OptimizationDiagnosticInfo.h
index 4c3b0fb949b..5d71b94e19e 100644
--- a/llvm/include/llvm/Analysis/OptimizationDiagnosticInfo.h
+++ b/llvm/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
OpenPOWER on IntegriCloud