mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[FIX][Attributor] Fix broken build due to missing virtual deconstructors.
The lack some virtual deconstructors where causing some builds bots to fail. This patch fixes that. Problematic commit: https://reviews.llvm.org/rGeaf1b6810ce0f40008b2b1d902750eafa3e198d3 Build bot: https://lab.llvm.org/buildbot/#/builders/18/builds/1741
This commit is contained in:
parent
1b972a014c
commit
319a05fb4c
@ -3882,6 +3882,7 @@ private:
|
||||
|
||||
struct AACallGraphNode {
|
||||
AACallGraphNode(Attributor &A) : A(A) {}
|
||||
virtual ~AACallGraphNode() {}
|
||||
|
||||
virtual AACallEdgeIterator optimisticEdgesBegin() const = 0;
|
||||
virtual AACallEdgeIterator optimisticEdgesEnd() const = 0;
|
||||
@ -3944,6 +3945,7 @@ struct AACallEdges : public StateWrapper<BooleanState, AbstractAttribute>,
|
||||
// Synthetic root node for the Attributor's internal call graph.
|
||||
struct AttributorCallGraph : public AACallGraphNode {
|
||||
AttributorCallGraph(Attributor &A) : AACallGraphNode(A) {}
|
||||
virtual ~AttributorCallGraph() {}
|
||||
|
||||
AACallEdgeIterator optimisticEdgesBegin() const override {
|
||||
return AACallEdgeIterator(A, A.Functions.begin());
|
||||
|
Loading…
Reference in New Issue
Block a user