From 5f90cbc56a9f4b651eed1e8208a209694c63b7ac Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 24 Oct 2006 20:48:29 +0000 Subject: [PATCH] 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 --- include/llvm/Target/TargetData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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