diff options
| -rw-r--r-- | clang/include/clang/Analysis/AnalysisContext.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/clang/include/clang/Analysis/AnalysisContext.h b/clang/include/clang/Analysis/AnalysisContext.h index 35f394f957c..42a5e9f8480 100644 --- a/clang/include/clang/Analysis/AnalysisContext.h +++ b/clang/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<Expr>(CallSite)) - return CE->isLValue(); - return false; - } - const CFGBlock *getCallSiteBlock() const { return Block; } unsigned getIndex() const { return Index; } |

