diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-26 02:31:33 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-26 02:31:33 +0000 |
commit | 0f5e6f88059bec94ec8cfd0ff00bf02face5fdef (patch) | |
tree | 7a3306f5f458f1d54781f15750e8e416268658ee /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 20d58fbd3a47b3d6e1b596ef2b28cc700d7fea6a (diff) | |
download | bcm5719-llvm-0f5e6f88059bec94ec8cfd0ff00bf02face5fdef.tar.gz bcm5719-llvm-0f5e6f88059bec94ec8cfd0ff00bf02face5fdef.zip |
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*.
llvm-svn: 89924
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions