[PATCH] D144730: [FlowSensitive] Log analysis progress for debugging purposes

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 12:13:30 PDT 2023


ymandel accepted this revision.
ymandel added a comment.

Awesome, thanks!



================
Comment at: clang/include/clang/Analysis/FlowSensitive/Logger.h:18
+
+class ControlFlowContext;
+class TypeErasedDataflowAnalysis;
----------------
Maybe comment on the need for these vs including the headers.


================
Comment at: clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp:393
+  if (Opts.Log == nullptr) {
+    if (DataflowLog.getNumOccurrences()) {
+      LogOwner = Logger::textual(llvm::errs());
----------------
nit: `> 0`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144730/new/

https://reviews.llvm.org/D144730



More information about the cfe-commits mailing list