};
class StackFrameContext : public LocationContext {
- // The callsite where this stack frame is established. The int bit indicates
- // whether the call expr should return an l-value when it has reference type.
+ // The callsite where this stack frame is established.
const Stmt *CallSite;
// The parent block of the callsite.
const Stmt *getCallSite() const { return CallSite; }
- bool evalAsLValue() const {
- if (const Expr *CE = dyn_cast<Expr>(CallSite))
- return CE->isLValue();
- return false;
- }
-
const CFGBlock *getCallSiteBlock() const { return Block; }
unsigned getIndex() const { return Index; }