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
This commit is contained in:
Chris Lattner
2003-06-03 15:28:40 +00:00
parent e14ccafe25
commit 17035c0edf
4 changed files with 19 additions and 10 deletions

View File

@@ -1,21 +1,24 @@
//===-- llvm/Target/TargetOptInfo.h ------------------------------*- C++ -*-==//
//
// FIXME: ADD A COMMENT DESCRIBING THIS FILE!
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TARGET_TARGETOPTINFO_H
#define LLVM_TARGET_TARGETOPTINFO_H
#include "Support/DataTypes.h"
class MachineInstr;
class TargetMachine;
struct TargetOptInfo : public NonCopyableV {
struct TargetOptInfo {
const TargetMachine ⌖
TargetOptInfo(const TargetOptInfo &); // DO NOT IMPLEMENT
void operator=(const TargetOptInfo &); // DO NOT IMPLEMENT
public:
TargetOptInfo(const TargetMachine& tgt): target(tgt) { }
TargetOptInfo(const TargetMachine &TM) : target(TM) { }
virtual bool IsUselessCopy (const MachineInstr* MI) const = 0;
virtual bool IsUselessCopy(const MachineInstr* MI) const = 0;
};
#endif