summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/CaptureTracking.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-11-21 18:32:21 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-11-21 18:32:21 +0000
commit6935b78e6f3b7dca7786041c56c9a795d2247659 (patch)
tree92385b2d3ff50f32eadcd30a27b63fa930f336c5 /include/llvm/Analysis/CaptureTracking.h
parent6fa583d78701390079db0cc4d944823af06023c6 (diff)
downloadllvm-6935b78e6f3b7dca7786041c56c9a795d2247659.tar.gz
llvm-6935b78e6f3b7dca7786041c56c9a795d2247659.tar.bz2
llvm-6935b78e6f3b7dca7786041c56c9a795d2247659.tar.xz
Add virtual destructor. Whoops!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/CaptureTracking.h')
-rw-r--r--include/llvm/Analysis/CaptureTracking.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/CaptureTracking.h b/include/llvm/Analysis/CaptureTracking.h
index b49646b2a2..01eca6041e 100644
--- a/include/llvm/Analysis/CaptureTracking.h
+++ b/include/llvm/Analysis/CaptureTracking.h
@@ -37,6 +37,8 @@ namespace llvm {
/// addition to the interface here, you'll need to provide your own getters
/// to see whether anything was captured.
struct CaptureTracker {
+ virtual ~CaptureTracker();
+
/// tooManyUses - The depth of traversal has breached a limit. There may be
/// capturing instructions that will not be passed into captured().
virtual void tooManyUses() = 0;