[llvm] r327027 - [llvm-mca] add override keyword to method ResourcePressureView::printView().

Andrea Di Biagio via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 8 09:02:28 PST 2018


Author: adibiagio
Date: Thu Mar  8 09:02:28 2018
New Revision: 327027

URL: http://llvm.org/viewvc/llvm-project?rev=327027&view=rev
Log:
[llvm-mca] add override keyword to method ResourcePressureView::printView().
NFC.


Modified:
    llvm/trunk/tools/llvm-mca/ResourcePressureView.h

Modified: llvm/trunk/tools/llvm-mca/ResourcePressureView.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/ResourcePressureView.h?rev=327027&r1=327026&r2=327027&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/ResourcePressureView.h (original)
+++ llvm/trunk/tools/llvm-mca/ResourcePressureView.h Thu Mar  8 09:02:28 2018
@@ -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);




More information about the llvm-commits mailing list