[llvm] r236007 - Fix a [-Werror, -Winconsistent-missing-override] problem in the

Eric Christopher echristo at gmail.com
Tue Apr 28 11:06:27 PDT 2015


Author: echristo
Date: Tue Apr 28 13:06:27 2015
New Revision: 236007

URL: http://llvm.org/viewvc/llvm-project?rev=236007&view=rev
Log:
Fix a [-Werror,-Winconsistent-missing-override] problem in the
NVPTX overrides.

Modified:
    llvm/trunk/lib/Target/NVPTX/NVPTXMCExpr.h

Modified: llvm/trunk/lib/Target/NVPTX/NVPTXMCExpr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/NVPTXMCExpr.h?rev=236007&r1=236006&r2=236007&view=diff
==============================================================================
--- llvm/trunk/lib/Target/NVPTX/NVPTXMCExpr.h (original)
+++ llvm/trunk/lib/Target/NVPTX/NVPTXMCExpr.h Tue Apr 28 13:06:27 2015
@@ -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 {





More information about the llvm-commits mailing list