From: Craig Topper Date: Thu, 26 Jan 2017 08:04:27 +0000 (+0000) Subject: [TargetTransformInfo] Add override keywords to supporess -Winconsistent-missing-override. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac9b2d97ef293789d82794718f00e20cc31f6091;p=llvm [TargetTransformInfo] Add override keywords to supporess -Winconsistent-missing-override. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293158 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/TargetTransformInfo.h b/include/llvm/Analysis/TargetTransformInfo.h index 89f0b22a3bf..48b77f7271d 100644 --- a/include/llvm/Analysis/TargetTransformInfo.h +++ b/include/llvm/Analysis/TargetTransformInfo.h @@ -942,11 +942,12 @@ public: bool shouldBuildLookupTablesForConstant(Constant *C) override { return Impl.shouldBuildLookupTablesForConstant(C); } - unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) { + unsigned getScalarizationOverhead(Type *Ty, bool Insert, + bool Extract) override { return Impl.getScalarizationOverhead(Ty, Insert, Extract); } unsigned getOperandsScalarizationOverhead(ArrayRef Args, - unsigned VF) { + unsigned VF) override { return Impl.getOperandsScalarizationOverhead(Args, VF); }