[PATCH] D117304: [clang][dataflow] Remove TestingSupport's dependency on gtest

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 16 13:58:02 PST 2022


gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/unittests/Analysis/FlowSensitive/TestingSupport.h:144
+          auto *Lattice =
+              llvm::any_cast<typename AnalysisT::Lattice>(&State.Lattice.Value);
+          Results.emplace_back(It->second, StateT{*Lattice, State.Env});
----------------
any_cast already performs an assert.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117304



More information about the cfe-commits mailing list