mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 02:34:48 +00:00
Add virtual destructor. Whoops!
llvm-svn: 145044
This commit is contained in:
parent
866214a486
commit
1eb3e73f1d
@ -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;
|
||||
|
@ -19,6 +19,8 @@
|
||||
#include "llvm/Analysis/CaptureTracking.h"
|
||||
using namespace llvm;
|
||||
|
||||
CaptureTracker::~CaptureTracker() {}
|
||||
|
||||
namespace {
|
||||
struct SimpleCaptureTracker : public CaptureTracker {
|
||||
explicit SimpleCaptureTracker(bool ReturnCaptures)
|
||||
|
Loading…
x
Reference in New Issue
Block a user