[OptDiag] Add class Doxygen comment

This was requested in D22694.

llvm-svn: 278186
This commit is contained in:
Adam Nemet 2016-08-10 00:44:56 +00:00
parent 896c09bd10
commit 021eba31dd

View File

@ -29,6 +29,12 @@ class Pass;
class Twine;
class Value;
/// The optimization diagnostic interface.
///
/// It allows reporting when optimizations are performed and when they are not
/// along with the reasons for it. Hotness information of the corresponding
/// code region can be included in the remark if DiagnosticHotnessRequested is
/// enabled in the LLVM context.
class OptimizationRemarkEmitter {
public:
OptimizationRemarkEmitter(Function *F, BlockFrequencyInfo *BFI)