aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-11-26 02:31:33 +0000
committerTed Kremenek <kremenek@apple.com>2009-11-26 02:31:33 +0000
commitb1a7b65231e86f7da6aacbf00bcdc16c56350e65 (patch)
treea72b34bb5372c1f89a4841fac28fd2250132342f /lib/CodeGen/CodeGenModule.h
parentf21bf9b87a5edefb3f10a96ac036f92f538b8d32 (diff)
Enhance LiveVariables to understand that blocks can extend the liveness of a variable by "capturing" them in a BlockExpr.
This required two changes: 1) Added 'getReferencedgetReferencedBlockVars()' to AnalysisContext so that clients can iterate over the "captured" variables in a block. 2) Modified LiveVariables to take an AnalysisContext& in its constructor and to call getReferencedgetReferencedBlockVars() when it processes a BlockExpr*. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions