]> granicus.if.org Git - clang/commit
An insomniac stab at making block declarations list the variables they close
authorJohn McCall <rjmccall@apple.com>
Wed, 2 Feb 2011 13:00:07 +0000 (13:00 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 2 Feb 2011 13:00:07 +0000 (13:00 +0000)
commit469a1eb996e1cb0be54f9b210f836afbddcbb2cc
treed80fe9f7fd892e6713f33d29ee26aa0270db925a
parent5b5828b74c758d7babffb2407464507fa004b157
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
14 files changed:
include/clang/AST/Decl.h
include/clang/AST/Expr.h
include/clang/Sema/ScopeInfo.h
lib/AST/Decl.cpp
lib/AST/ExprConstant.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterDecl.cpp
lib/Serialization/ASTWriterStmt.cpp
lib/StaticAnalyzer/CFRefCount.cpp
lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp