Fix a [-Werror,-Winconsistent-missing-override] problem in the
authorEric Christopher <echristo@gmail.com>
Tue, 28 Apr 2015 18:06:27 +0000 (18:06 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 28 Apr 2015 18:06:27 +0000 (18:06 +0000)
NVPTX overrides.

llvm-svn: 236007

llvm/lib/Target/NVPTX/NVPTXMCExpr.h

index e1d46ea..fcec111 100644 (file)
@@ -105,7 +105,7 @@ public:
 
   /// @}
 
-  void PrintImpl(raw_ostream &OS) const;
+  void PrintImpl(raw_ostream &OS) const override;
   bool EvaluateAsRelocatableImpl(MCValue &Res,
                                  const MCAsmLayout *Layout,
                                  const MCFixup *Fixup) const override {