File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
clang/include/clang/Analysis/FlowSensitive Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,6 @@ class StmtToBlockMap {
3737 return StmtToBlock.lookup (&ignoreCFGOmittedNodes (S));
3838 }
3939
40- const llvm::DenseMap<const Stmt *, const CFGBlock *> &getMap () const {
41- return StmtToBlock;
42- }
43-
4440private:
4541 llvm::DenseMap<const Stmt *, const CFGBlock *> StmtToBlock;
4642};
@@ -67,14 +63,6 @@ class AdornedCFG {
6763 // / Returns the CFG that is stored in this context.
6864 const CFG &getCFG () const { return *Cfg; }
6965
70- // / Returns a mapping from statements to basic blocks that contain them.
71- // / Deprecated. Use `blockForStmt()` instead (which prevents the potential
72- // / error of forgetting to call `ignoreCFGOmittedNodes()` on the statement to
73- // / look up).
74- const llvm::DenseMap<const Stmt *, const CFGBlock *> &getStmtToBlock () const {
75- return StmtToBlock.getMap ();
76- }
77-
7866 // / Returns the basic block that contains `S`, or null if no basic block
7967 // / containing `S` is found.
8068 const CFGBlock *blockForStmt (const Stmt &S) const {
You can’t perform that action at this time.
0 commit comments