aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-04-22 05:40:28 +0000
committerTed Kremenek <kremenek@apple.com>2008-04-22 05:40:28 +0000
commitc5b1bf10133a8ecbfe9e6b3ec92bae84e3d927e8 (patch)
tree34f822e4848a295cd58f7e39b0624a552510228b
parent9a094cbf19868f15e6d79731b3edb1ec544d8193 (diff)
Add VisitArraySubscriptExpr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50090 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/PathSensitive/GRExprEngine.h4
1 files changed, 4 insertions, 0 deletions
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);