mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-29 15:37:46 +00:00
Add virtual destructor. Whoops!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6fa583d787
commit
6935b78e6f
@ -37,6 +37,8 @@ namespace llvm {
|
|||||||
/// addition to the interface here, you'll need to provide your own getters
|
/// addition to the interface here, you'll need to provide your own getters
|
||||||
/// to see whether anything was captured.
|
/// to see whether anything was captured.
|
||||||
struct CaptureTracker {
|
struct CaptureTracker {
|
||||||
|
virtual ~CaptureTracker();
|
||||||
|
|
||||||
/// tooManyUses - The depth of traversal has breached a limit. There may be
|
/// tooManyUses - The depth of traversal has breached a limit. There may be
|
||||||
/// capturing instructions that will not be passed into captured().
|
/// capturing instructions that will not be passed into captured().
|
||||||
virtual void tooManyUses() = 0;
|
virtual void tooManyUses() = 0;
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
#include "llvm/Analysis/CaptureTracking.h"
|
#include "llvm/Analysis/CaptureTracking.h"
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
|
CaptureTracker::~CaptureTracker() {}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
struct SimpleCaptureTracker : public CaptureTracker {
|
struct SimpleCaptureTracker : public CaptureTracker {
|
||||||
explicit SimpleCaptureTracker(bool ReturnCaptures)
|
explicit SimpleCaptureTracker(bool ReturnCaptures)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user