[cfe-commits] r123168 - /cfe/trunk/include/clang/Analysis/AnalysisContext.h
Zhongxing Xu
xuzhongxing at gmail.com
Mon Jan 10 03:28:29 PST 2011
Author: zhongxingxu
Date: Mon Jan 10 05:28:29 2011
New Revision: 123168
URL: http://llvm.org/viewvc/llvm-project?rev=123168&view=rev
Log:
Remove dead code.
Modified:
cfe/trunk/include/clang/Analysis/AnalysisContext.h
Modified: cfe/trunk/include/clang/Analysis/AnalysisContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/AnalysisContext.h?rev=123168&r1=123167&r2=123168&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/AnalysisContext.h (original)
+++ cfe/trunk/include/clang/Analysis/AnalysisContext.h Mon Jan 10 05:28:29 2011
@@ -199,8 +199,7 @@
};
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 @@
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; }
More information about the cfe-commits
mailing list