[clang] [analyzer] Add time-trace scopes for high-level analyzer steps (PR #125508)
Arseniy Zaostrovnykh via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 4 06:04:17 PST 2025
================
@@ -287,6 +288,34 @@ class PathDiagnosticBuilder : public BugReporterContext {
const PathSensitiveBugReport *getBugReport() const { return R; }
};
+std::string timeTraceName(const BugReportEquivClass &EQ) {
+ if (!llvm::timeTraceProfilerEnabled())
+ return "";
+ const auto &bugReports = EQ.getReports();
----------------
necto wrote:
fixed
b5792c2b135e [NFC] Uppercase variable names
https://github.com/llvm/llvm-project/pull/125508
More information about the cfe-commits
mailing list