From: Devang Patel Date: Tue, 24 Oct 2006 20:48:29 +0000 (+0000) Subject: TargetData is not subclassed. So no need to have virtual method. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5f90cbc56a9f4b651eed1e8208a209694c63b7ac;p=oota-llvm.git TargetData is not subclassed. So no need to have virtual method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31173 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h index b8cdae5f7f3..9b5aa99bde6 100644 --- a/include/llvm/Target/TargetData.h +++ b/include/llvm/Target/TargetData.h @@ -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