From c5b1bf10133a8ecbfe9e6b3ec92bae84e3d927e8 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 22 Apr 2008 05:40:28 +0000 Subject: [PATCH] Add VisitArraySubscriptExpr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50090 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/PathSensitive/GRExprEngine.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/clang/Analysis/PathSensitive/GRExprEngine.h b/include/clang/Analysis/PathSensitive/GRExprEngine.h index 0ac5bbbdc9..0cc1855463 100644 --- a/include/clang/Analysis/PathSensitive/GRExprEngine.h +++ b/include/clang/Analysis/PathSensitive/GRExprEngine.h @@ -486,6 +486,10 @@ protected: /// evaluate to an LVal representing the location of the referred Decl. void VisitLVal(Expr* Ex, NodeTy* Pred, NodeSet& Dst); + /// VisitArraySubscriptExpr - Transfer function for array accesses. + void VisitArraySubscriptExpr(ArraySubscriptExpr* Ex, NodeTy* Pred, + NodeSet& Dst, bool asLVal); + /// VisitAsmStmt - Transfer function logic for inline asm. void VisitAsmStmt(AsmStmt* A, NodeTy* Pred, NodeSet& Dst); -- 2.50.1