aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2006-10-24 20:48:29 +0000
committerDevang Patel <dpatel@apple.com>2006-10-24 20:48:29 +0000
commit5f90cbc56a9f4b651eed1e8208a209694c63b7ac (patch)
tree907c7719126dc371dfd3d98a91f6d40825116ac7
parent93858f65d3bb63e96cce4d643fdab79329a3143a (diff)
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
-rw-r--r--include/llvm/Target/TargetData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h
index b8cdae5f7f..9b5aa99bde 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