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 {
37
37
return StmtToBlock.lookup (&ignoreCFGOmittedNodes (S));
38
38
}
39
39
40
- const llvm::DenseMap<const Stmt *, const CFGBlock *> &getMap () const {
41
- return StmtToBlock;
42
- }
43
-
44
40
private:
45
41
llvm::DenseMap<const Stmt *, const CFGBlock *> StmtToBlock;
46
42
};
@@ -67,14 +63,6 @@ class AdornedCFG {
67
63
// / Returns the CFG that is stored in this context.
68
64
const CFG &getCFG () const { return *Cfg; }
69
65
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
-
78
66
// / Returns the basic block that contains `S`, or null if no basic block
79
67
// / containing `S` is found.
80
68
const CFGBlock *blockForStmt (const Stmt &S) const {
You can’t perform that action at this time.
0 commit comments