[PATCH] D146507: [clang][dataflow][NFC] Eliminate StmtToEnvMap interface.
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 22 06:01:46 PDT 2023
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
================
Comment at: clang/include/clang/Analysis/FlowSensitive/Transfer.h:35
+ /// The result is guaranteed never to be null.
+ virtual const Environment *getEnvironment(const Stmt &S) const {
+ auto BlockIt = CFCtx.getStmtToBlock().find(&ignoreCFGOmittedNodes(S));
----------------
Drop virtual?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146507/new/
https://reviews.llvm.org/D146507
More information about the cfe-commits
mailing list