diff options
| author | John McCall <rjmccall@apple.com> | 2011-02-02 13:00:07 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2011-02-02 13:00:07 +0000 |
| commit | 469a1eb996e1cb0be54f9b210f836afbddcbb2cc (patch) | |
| tree | d80fe9f7fd892e6713f33d29ee26aa0270db925a /lib/Serialization/ASTReaderStmt.cpp | |
| parent | 5b5828b74c758d7babffb2407464507fa004b157 (diff) | |
An insomniac stab at making block declarations list the variables they close
on, as well as more reliably limiting invalid references to locals from
nested scopes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTReaderStmt.cpp')
| -rw-r--r-- | lib/Serialization/ASTReaderStmt.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Serialization/ASTReaderStmt.cpp b/lib/Serialization/ASTReaderStmt.cpp index 1a2284bde8..c704eb2ab4 100644 --- a/lib/Serialization/ASTReaderStmt.cpp +++ b/lib/Serialization/ASTReaderStmt.cpp @@ -791,7 +791,6 @@ void ASTStmtReader::VisitShuffleVectorExpr(ShuffleVectorExpr *E) { void ASTStmtReader::VisitBlockExpr(BlockExpr *E) { VisitExpr(E); E->setBlockDecl(cast_or_null<BlockDecl>(Reader.GetDecl(Record[Idx++]))); - E->setHasBlockDeclRefExprs(Record[Idx++]); } void ASTStmtReader::VisitBlockDeclRefExpr(BlockDeclRefExpr *E) { |
