[lld] r221230 - Remove virtual from a member function that's not overridden.

Rui Ueyama ruiu at google.com
Mon Nov 3 18:40:55 PST 2014


Author: ruiu
Date: Mon Nov  3 20:40:55 2014
New Revision: 221230

URL: http://llvm.org/viewvc/llvm-project?rev=221230&view=rev
Log:
Remove virtual from a member function that's not overridden.

Modified:
    lld/trunk/include/lld/Core/DefinedAtom.h

Modified: lld/trunk/include/lld/Core/DefinedAtom.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/DefinedAtom.h?rev=221230&r1=221229&r2=221230&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/DefinedAtom.h (original)
+++ lld/trunk/include/lld/Core/DefinedAtom.h Mon Nov  3 20:40:55 2014
@@ -318,7 +318,7 @@ public:
   static ContentPermissions permissions(ContentType type);
 
   /// Utility function to check if the atom occupies file space
-  virtual bool occupiesDiskSpace() const {
+  bool occupiesDiskSpace() const {
     ContentType atomContentType = contentType();
     return !(atomContentType == DefinedAtom::typeZeroFill ||
              atomContentType == DefinedAtom::typeZeroFillFast ||





More information about the llvm-commits mailing list