When asking for -fdiagnostics-hotness-threshold, we currently require
-fdiagnostics-show-hotness otherwise we silently display nothing.
I don't see a scenario where that makes sense, so have one option impy
the other.
Paths
| Differential D153746
[Remarks] Make sure -fdiagnostics-hotness-threshold implies -fdiagnostics-show-hotness ClosedPublic Authored by serge-sans-paille on Jun 26 2023, 1:02 AM.
Details Summary When asking for -fdiagnostics-hotness-threshold, we currently require I don't see a scenario where that makes sense, so have one option impy
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 26 2023, 1:02 AM This revision is now accepted and ready to land.Jun 26 2023, 2:17 AM Closed by commit rGf686e4bbc20a: [Remarks] Make sure -fdiagnostics-hotness-threshold implies -fdiagnostics-show… (authored by serge-sans-paille). · Explain WhyJun 26 2023, 4:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 534501 clang/test/Frontend/remarks-hotness.cpp
llvm/lib/IR/LLVMRemarkStreamer.cpp
|