Currently, only OptimizationRemarks can be emitted using a Function.
Add constructors to allow this for OptimizationRemarksAnalysis and
OptimizationRemarkMissed as well.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
Diagnostic Info parts seems very mechanical and ok to me.
OpenMPOpt parts make sense.
Test seem to be always tied to an analysis (e.g., D29023) so LGTM
clang-format: please reformat the code