diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-10-07 22:21:02 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-10-07 22:21:02 +0000 |
commit | dccc2b2277cc1280b24698bb2b10f8520f57dc8f (patch) | |
tree | cc00f7918e43ca6a64b2b48e1adc2cd54b569f0e /clang/lib/Analysis/LiveVariables.cpp | |
parent | 881ec8534e424dacdcad6346409104060145bfe2 (diff) | |
download | bcm5719-llvm-dccc2b2277cc1280b24698bb2b10f8520f57dc8f.tar.gz bcm5719-llvm-dccc2b2277cc1280b24698bb2b10f8520f57dc8f.zip |
Remove AnalysisContext::getLiveVariables(), and introduce a templatized mechanism to lazily create analyses that are attached to AnalysisContext objects.
llvm-svn: 141425
Diffstat (limited to 'clang/lib/Analysis/LiveVariables.cpp')
-rw-r--r-- | clang/lib/Analysis/LiveVariables.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Analysis/LiveVariables.cpp b/clang/lib/Analysis/LiveVariables.cpp index c800c70a38f..62c5455e0f2 100644 --- a/clang/lib/Analysis/LiveVariables.cpp +++ b/clang/lib/Analysis/LiveVariables.cpp @@ -670,3 +670,5 @@ void LiveVariablesImpl::dumpBlockLiveness(const SourceManager &M) { llvm::errs() << "\n"; } +const void *LiveVariables::getTag() { static int x; return &x; } +const void *RelaxedLiveVariables::getTag() { static int x; return &x; } |