diff --git a/include/llvm/Transforms/IPO/Attributor.h b/include/llvm/Transforms/IPO/Attributor.h index 48c65c37eec..a8076d33018 100644 --- a/include/llvm/Transforms/IPO/Attributor.h +++ b/include/llvm/Transforms/IPO/Attributor.h @@ -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()); }