mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[Attributor] Add override keyword to the print function of AA
The print() function in the `AbstractAttribute` structure overrides the function in the `AADepGraphNode`, so we need to mark it as override. This should fix a buildbot failure introduced by 5ee07dc.
This commit is contained in:
parent
be7973e40b
commit
99d029f616
@ -2138,7 +2138,7 @@ struct AbstractAttribute : public IRPosition, public AADepGraphNode {
|
||||
|
||||
/// Helper functions, for debug purposes only.
|
||||
///{
|
||||
virtual void print(raw_ostream &OS) const;
|
||||
void print(raw_ostream &OS) const override;
|
||||
virtual void printWithDeps(raw_ostream &OS) const;
|
||||
void dump() const { print(dbgs()); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user