xazax.hun accepted this revision. xazax.hun added inline comments. This revision is now accepted and ready to land.
================ Comment at: clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp:217 + llvm::DenseMap<AtomicBoolValue *, BoolValue *> Substitutions) { + llvm::DenseMap<BoolValue *, BoolValue *> SubstitutionsCache; + SubstitutionsCache.insert(Substitutions.begin(), Substitutions.end()); ---------------- I think `DenseMap` has a constructor that accepts two iterators. ================ Comment at: clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp:233-236 + auto ConstraintsIT = FlowConditionConstraints.find(&Token); + if (ConstraintsIT == FlowConditionConstraints.end()) { + return getBoolLiteralValue(true); + } ---------------- Should we move this check to the beginning to save work? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128363/new/ https://reviews.llvm.org/D128363 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits