Rollback changes to take a different tack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-12-12 19:26:50 +00:00
parent bb4e7b2fa4
commit 9a7dfa3fd4
4 changed files with 5 additions and 7 deletions

View File

@ -27,13 +27,10 @@ namespace llvm {
class TargetSubtarget {
TargetSubtarget(const TargetSubtarget&); // DO NOT IMPLEMENT
void operator=(const TargetSubtarget&); // DO NOT IMPLEMENT
std::string CPU; // CPU name.
protected: // Can only create subclasses...
TargetSubtarget();
public:
virtual ~TargetSubtarget();
void setCPU(const std::string &C) { CPU = C; }
const std::string &getCPU() const { return CPU; }
};
} // End llvm namespace