[PATCH] D121602: [clang][dataflow] Model the behavior of non-standard optional constructors

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 14 09:00:16 PDT 2022


ymandel added inline comments.


================
Comment at: clang/include/clang/Analysis/FlowSensitive/MatchSwitch.h:42
 
-  /// Current lattice element.
+  ASTContext &ASTCtx;
   LatticeT &Lattice;
----------------
This shouldn't be needed, since we now pass the `MatchFinder::MatchResult` in `Action`, which includes the `ASTContext`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121602



More information about the cfe-commits mailing list