From: Zhongxing Xu Date: Mon, 10 Jan 2011 11:28:29 +0000 (+0000) Subject: Remove dead code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26c9cb55cb96643c0759c08d037c16c309864087;p=clang Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123168 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/AnalysisContext.h b/include/clang/Analysis/AnalysisContext.h index 35f394f957..42a5e9f848 100644 --- a/include/clang/Analysis/AnalysisContext.h +++ b/include/clang/Analysis/AnalysisContext.h @@ -199,8 +199,7 @@ public: }; 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. @@ -221,12 +220,6 @@ public: const Stmt *getCallSite() const { return CallSite; } - bool evalAsLValue() const { - if (const Expr *CE = dyn_cast(CallSite)) - return CE->isLValue(); - return false; - } - const CFGBlock *getCallSiteBlock() const { return Block; } unsigned getIndex() const { return Index; }