new function for getting the location, if any, associated with the current call

This commit is contained in:
Vern Paxson 2021-03-18 10:00:01 -07:00
parent 8fb30f1d62
commit 8f2637decb
6 changed files with 14 additions and 8 deletions

View file

@ -262,6 +262,7 @@ public:
void SetCall(const CallExpr* arg_call) { call = arg_call; }
void ClearCall() { call = nullptr; }
const CallExpr* GetCall() const { return call; }
const detail::Location* GetCallLocation() const;
void SetDelayed() { delayed = true; }
bool HasDelayed() const { return delayed; }