aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-04-22 22:25:27 +0000
committerTed Kremenek <kremenek@apple.com>2008-04-22 22:25:27 +0000
commit5b7dcce86c79370f16fd89ecebd454a3b4eec73c (patch)
treec4e4a69f7d636fa84da06fc6d91b631e519aa8d8 /include/clang
parenta548846b471f7ca05ec6038c7d9d3b4d0de777cc (diff)
Rewrote VisitDeclStmt to properly handle initializers that can do anything.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Analysis/PathSensitive/GRExprEngine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/GRExprEngine.h b/include/clang/Analysis/PathSensitive/GRExprEngine.h
index 0cc1855463..8d949f8c04 100644
--- a/include/clang/Analysis/PathSensitive/GRExprEngine.h
+++ b/include/clang/Analysis/PathSensitive/GRExprEngine.h
@@ -521,6 +521,9 @@ protected:
/// VisitDeclStmt - Transfer function logic for DeclStmts.
void VisitDeclStmt(DeclStmt* DS, NodeTy* Pred, NodeSet& Dst);
+ void VisitDeclStmtAux(DeclStmt* DS, ScopedDecl* D,
+ NodeTy* Pred, NodeSet& Dst);
+
void VisitDeref(UnaryOperator* U, NodeTy* Pred, NodeSet& Dst,
bool GetLVal = false);