]> granicus.if.org Git - llvm/commitdiff
Add missing 'override', fixing compilation with some compilers since SVN r337950
authorMartin Storsjo <martin@martin.st>
Wed, 25 Jul 2018 19:01:36 +0000 (19:01 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 25 Jul 2018 19:01:36 +0000 (19:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337952 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMAsmPrinter.h

index 50f3edeb4e5bdc0594eda7258ee20a62cc9a9e2b..0ba4bc05d6f7719f1e65f133e4009d3d9622b485 100644 (file)
@@ -102,7 +102,7 @@ public:
   void EmitXXStructor(const DataLayout &DL, const Constant *CV) override;
   void EmitGlobalVariable(const GlobalVariable *GV) override;
 
-  MCSymbol *GetCPISymbol(unsigned CPID) const;
+  MCSymbol *GetCPISymbol(unsigned CPID) const override;
 
   // lowerOperand - Convert a MachineOperand into the equivalent MCOperand.
   bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp);