vsavchenko added inline comments.
================ Comment at: clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:895 +using VisitorCallback = llvm::function_ref<void( + const ExplodedNode *, BugReporterContext &, PathSensitiveBugReport &)>; ---------------- `function_ref` is a reference, it doesn't own the function. It means that it shouldn't outlive the actual function object (very similar to `StringRef`). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D103434/new/ https://reviews.llvm.org/D103434 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits