[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 01:59:53 PST 2025


================
@@ -287,6 +288,35 @@ class PathDiagnosticBuilder : public BugReporterContext {
   const PathSensitiveBugReport *getBugReport() const { return R; }
 };
 
+std::string timeTraceName(const BugReportEquivClass &EQ) {
+  if (!llvm::timeTraceProfilerEnabled()) {
----------------
necto wrote:

removed
babecf833ce0 [NFC] remove redundant braces



https://github.com/llvm/llvm-project/pull/125508


More information about the cfe-commits mailing list