[llvm] r356557 - Follow up of rL356555

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 20 07:33:39 PDT 2019


Author: sjoerdmeijer
Date: Wed Mar 20 07:33:39 2019
New Revision: 356557

URL: http://llvm.org/viewvc/llvm-project?rev=356557&view=rev
Log:
Follow up of rL356555

Pacify buildbot that complained about a member function not marked with
override.

Modified:
    llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h

Modified: llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h?rev=356557&r1=356556&r2=356557&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h Wed Mar 20 07:33:39 2019
@@ -1272,7 +1272,7 @@ public:
                        const User *U = nullptr) override {
     return Impl.getIntrinsicCost(IID, RetTy, Arguments, U);
   }
-  int getMemcpyCost(const Instruction *I) {
+  int getMemcpyCost(const Instruction *I) override {
     return Impl.getMemcpyCost(I);
   }
   int getUserCost(const User *U, ArrayRef<const Value *> Operands) override {




More information about the llvm-commits mailing list