[PATCH] Add missing override keyword

Brad Smith brad at comstyle.com
Sun Jul 27 17:11:59 PDT 2014


When adding the IsIntegratedAssemblerDefault() bits for OpenBSD
I missed adding the override keyword when bringing the code
forward from an older code base.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
Index: ToolChains.h
===================================================================
--- ToolChains.h	(revision 214058)
+++ ToolChains.h	(working copy)
@@ -537,7 +537,7 @@
     return 2;
   }
 
-  virtual bool IsIntegratedAssemblerDefault() const {
+  virtual bool IsIntegratedAssemblerDefault() const override {
     if (getTriple().getArch() == llvm::Triple::ppc ||
         getTriple().getArch() == llvm::Triple::sparc ||
         getTriple().getArch() == llvm::Triple::sparcv9)


More information about the cfe-commits mailing list