summaryrefslogtreecommitdiffstats
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
commit24d4888a855b4f408fbee7e0fa504333c7ed1071 (patch)
tree75036494e7663e54f267559036f6a4542cb6d3db
parenta2cca7dbdfeafcbaa3e0506297ec08c4f45ce56e (diff)
downloadbcm5719-llvm-24d4888a855b4f408fbee7e0fa504333c7ed1071.tar.gz
bcm5719-llvm-24d4888a855b4f408fbee7e0fa504333c7ed1071.zip
Add VisitArraySubscriptExpr.
llvm-svn: 50090
-rw-r--r--clang/include/clang/Analysis/PathSensitive/GRExprEngine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/include/clang/Analysis/PathSensitive/GRExprEngine.h b/clang/include/clang/Analysis/PathSensitive/GRExprEngine.h
index 0ac5bbbdc92..0cc18554634 100644
--- a/clang/include/clang/Analysis/PathSensitive/GRExprEngine.h
+++ b/clang/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);
OpenPOWER on IntegriCloud