summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetCacheInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-03 15:28:40 +0000
committerChris Lattner <sabre@nondot.org>2003-06-03 15:28:40 +0000
commit17035c0edf5463fd9edb8496502f4c5a0dc1d7ab (patch)
tree83f0d692a8a697e5ec37887ea8a8d17064b07c46 /include/llvm/Target/TargetCacheInfo.h
parente14ccafe25433606afcdbd15d546ef3e0b091dad (diff)
downloadllvm-17035c0edf5463fd9edb8496502f4c5a0dc1d7ab.tar.gz
llvm-17035c0edf5463fd9edb8496502f4c5a0dc1d7ab.tar.bz2
llvm-17035c0edf5463fd9edb8496502f4c5a0dc1d7ab.tar.xz
Remove noncopyableV base classes, as they were confusing the doxygen documentation,
making it harder to read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetCacheInfo.h')
-rw-r--r--include/llvm/Target/TargetCacheInfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetCacheInfo.h b/include/llvm/Target/TargetCacheInfo.h
index d83aac78b9..5eb9fdecdc 100644
--- a/include/llvm/Target/TargetCacheInfo.h
+++ b/include/llvm/Target/TargetCacheInfo.h
@@ -10,8 +10,10 @@
#include "Support/DataTypes.h"
class TargetMachine;
-struct TargetCacheInfo : public NonCopyableV {
+struct TargetCacheInfo {
const TargetMachine &target;
+ TargetCacheInfo(const TargetCacheInfo&); // DO NOT IMPLEMENT
+ void operator=(const TargetCacheInfo&); // DO NOT IMPLEMENT
protected:
unsigned int numLevels;
std::vector<unsigned short> cacheLineSizes;
@@ -22,6 +24,7 @@ public:
TargetCacheInfo(const TargetMachine& tgt) : target(tgt) {
Initialize();
}
+ virtual ~TargetCacheInfo() {}
// Default parameters are:
// NumLevels = 2