TargetData is not subclassed. So no need to have virtual method.
authorDevang Patel <dpatel@apple.com>
Tue, 24 Oct 2006 20:48:29 +0000 (20:48 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 24 Oct 2006 20:48:29 +0000 (20:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31173 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetData.h

index b8cdae5f7f31d8fb66483fed43622bb6b152cf67..9b5aa99bde65815a520008a32dd7300a1c494bc9 100644 (file)
@@ -147,7 +147,7 @@ public:
   /// getPreferredAlignmentLog - Return the preferred alignment of the
   /// specified global, returned in log form.  This includes an explicitly
   /// requested alignment (if the global has one).
-  virtual unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
+  unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
 };
 
 /// StructLayout - used to lazily calculate structure layout information for a