forked from OSchip/llvm-project
[polly] Fix compiler warning. NFC.
Fix the warning warning: 'polly::ScopViewer' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor] and for several other classes by inserting virtual destructors.
This commit is contained in:
parent
6b3b87376b
commit
588ffdaf37
|
@ -44,6 +44,7 @@ struct DOTGraphTraitsViewer
|
|||
: public PassInfoMixin<DOTGraphTraitsViewer<AnalysisT, IsSimple, GraphT,
|
||||
AnalysisGraphTraitsT>> {
|
||||
DOTGraphTraitsViewer(StringRef GraphName) : Name(GraphName) {}
|
||||
virtual ~DOTGraphTraitsViewer() {}
|
||||
|
||||
/// Return true if this function should be processed.
|
||||
///
|
||||
|
@ -98,6 +99,7 @@ struct DOTGraphTraitsPrinter
|
|||
: public PassInfoMixin<DOTGraphTraitsPrinter<AnalysisT, IsSimple, GraphT,
|
||||
AnalysisGraphTraitsT>> {
|
||||
DOTGraphTraitsPrinter(StringRef GraphName) : Name(GraphName) {}
|
||||
virtual ~DOTGraphTraitsPrinter() {}
|
||||
|
||||
/// Return true if this function should be processed.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue