[PATCH] D128352: [clang][dataflow] Use diagnosis API in optional checker

Stanislav Gatev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 28 23:41:54 PDT 2022


sgatev accepted this revision.
sgatev added inline comments.


================
Comment at: clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h:126-129
+        auto *Lattice =
+            llvm::any_cast<typename AnalysisT::Lattice>(&State.Lattice.Value);
+        PostVisitStmt(Stmt, DataflowAnalysisState<typename AnalysisT::Lattice>{
+                                *Lattice, State.Env});
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128352



More information about the cfe-commits mailing list