commit | b929f6636c79565e9a34c0656a962f9b198c5e80 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Dec 06 07:17:26 2012 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Dec 06 07:17:26 2012 +0000 |
tree | 5c04ad74242b918e747a25b81d47c5ec75f1fe5c | |
parent | e3ce2c10c3f6ae7b26700d758de909deab190d42 [diff] |
Use the BlockDecl captures list to infer the direct captures for a BlockDataRegion. Fixes <rdar://problem/12415065>. We still need to do a recursive walk to determine all static/global variables referenced by a block, which is needed for region invalidation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169481 91177308-0d34-0410-b5e6-96231b3b80d8