[llvm-mca] add override keyword to method ResourcePressureView::printView().
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Thu, 8 Mar 2018 17:02:28 +0000 (17:02 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Thu, 8 Mar 2018 17:02:28 +0000 (17:02 +0000)
NFC.

llvm-svn: 327027

llvm/tools/llvm-mca/ResourcePressureView.h

index ad8c1b7..3521d02 100644 (file)
@@ -101,7 +101,7 @@ public:
       unsigned Index,
       const llvm::ArrayRef<std::pair<ResourceRef, unsigned>> &Used) override;
 
-  void printView(llvm::raw_ostream &OS) const {
+  void printView(llvm::raw_ostream &OS) const override {
     unsigned Executions = Source.getNumIterations();
     printResourcePressurePerIteration(OS, Executions);
     printResourcePressurePerInstruction(OS, Executions);