parent
daa4176926
commit
2d88c0b989
|
@ -122,9 +122,17 @@ public:
|
|||
return AnaCtxMgr.getContext(D)->getParentMap();
|
||||
}
|
||||
|
||||
// Get the top level stack frame.
|
||||
StackFrameContext *getStackFrame(Decl const *D) {
|
||||
return LocCtxMgr.getStackFrame(AnaCtxMgr.getContext(D), 0, 0);
|
||||
}
|
||||
|
||||
// Get a stack frame with parent.
|
||||
StackFrameContext const *getStackFrame(Decl const *D,
|
||||
LocationContext const *Parent,
|
||||
Stmt const *S) {
|
||||
return LocCtxMgr.getStackFrame(AnaCtxMgr.getContext(D), Parent, S);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -162,6 +162,9 @@ public:
|
|||
return LastNode ? (LastNode->isSink() ? NULL : LastNode) : NULL;
|
||||
}
|
||||
|
||||
// FIXME: This should not be exposed.
|
||||
GRWorkList *getWorkList() { return Eng.WList; }
|
||||
|
||||
void SetCleanedState(const GRState* St) {
|
||||
CleanedState = St;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue