[PATCH] D132756: [clang][dataflow] Refactor `TypeErasedDataflowAnalysisTest` - replace usage of the deprecated overload of `checkDataflow`.
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 26 16:32:02 PDT 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:68
+const Environment &getEnvironmentAtAnnotation(
+ llvm::StringMap<DataflowAnalysisState<LatticeT>> &AnnotationStates,
+ llvm::StringRef Annotation) {
----------------
================
Comment at: clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp:132
struct FunctionCallLattice {
- llvm::SmallSet<std::string, 8> CalledFunctions;
+ typedef llvm::SmallSet<std::string, 8> FunctionSet;
+ FunctionSet CalledFunctions;
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132756/new/
https://reviews.llvm.org/D132756
More information about the cfe-commits
mailing list