Instead, we turn StmtToEnvMap into a concrete class with the implementation that used to live in StmtToEnvMapImpl.
The layering issue that originally required the indirection through the
StmtToEnvMap interface no longer exists.
Differential D146507
[clang][dataflow][NFC] Eliminate StmtToEnvMap interface. mboehme on Mar 21 2023, 2:14 AM. Authored by
Details Instead, we turn StmtToEnvMap into a concrete class with the implementation that used to live in StmtToEnvMapImpl. The layering issue that originally required the indirection through the
Diff Detail
Event Timeline
Comment Actions After some offline discussion with reviewers, we've come to the conclusion that AnalysisContext isn't a sufficiently clear abstraction to warrant putting it in a header. For the time being, I'll therefore pursue the less ambitious approach of simply eliminating the StmtToEnvMap interface and instead turning it into a concrete class with the implementation that used to be in StmtToEnvMapImpl. Comment Actions @gribozavr2 @xazax.hun Just wanted to confirm that you still regard this as ready to land now that I've changed the patch as we discussed offline?
Comment Actions thanks!
|
Could you move the comment to the new declaration of this function?