Remove unnecessary use of NonCopyable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-06 17:16:24 +00:00
parent dfd414ab77
commit 8043127860
4 changed files with 14 additions and 18 deletions

View File

@ -21,7 +21,6 @@
#include "llvm/Support/CFG.h"
#include "Support/TarjanSCCIterator.h"
#include "Support/Statistic.h"
#include "Support/NonCopyable.h"
#include "Support/STLExtras.h"
#include "Support/hash_map"
#include "Support/hash_set"
@ -116,14 +115,14 @@ struct ModRefTable
/// and all that use any node.
///--------------------------------------------------------------------------
class ModRefInfoBuilder: public InstVisitor<ModRefInfoBuilder>,
public NonCopyable
{
class ModRefInfoBuilder : public InstVisitor<ModRefInfoBuilder> {
const DSGraph& funcGraph;
const FunctionModRefInfo& funcModRef;
ModRefTable& modRefTable;
ModRefInfoBuilder(); // do not implement
ModRefInfoBuilder(); // DO NOT IMPLEMENT
ModRefInfoBuilder(const ModRefInfoBuilder&); // DO NOT IMPLEMENT
void operator=(const ModRefInfoBuilder&); // DO NOT IMPLEMENT
public:
/*ctor*/ ModRefInfoBuilder(const DSGraph& _funcGraph,

View File

@ -45,7 +45,6 @@
#include "llvm/DerivedTypes.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/Support/Cilkifier.h"
#include "Support/NonCopyable.h"
#include "Support/Statistic.h"
#include "Support/STLExtras.h"
#include "Support/hash_set"
@ -280,9 +279,7 @@ void Cilkifier::visitCallInst(CallInst& CI)
// useful parallelism.
//----------------------------------------------------------------------------
class FindParallelCalls: public InstVisitor<FindParallelCalls>,
public NonCopyable
{
class FindParallelCalls : public InstVisitor<FindParallelCalls> {
typedef hash_set<CallInst*> DependentsSet;
typedef DependentsSet::iterator Dependents_iterator;
typedef DependentsSet::const_iterator Dependents_const_iterator;
@ -296,6 +293,8 @@ class FindParallelCalls: public InstVisitor<FindParallelCalls>,
CallInst* root,
DependentsSet& depsOfRoot);
FindParallelCalls(const FindParallelCalls &); // DO NOT IMPLEMENT
void operator=(const FindParallelCalls&); // DO NOT IMPLEMENT
public:
std::vector<CallInst*> parallelCalls;

View File

@ -21,7 +21,6 @@
#include "llvm/Support/CFG.h"
#include "Support/TarjanSCCIterator.h"
#include "Support/Statistic.h"
#include "Support/NonCopyable.h"
#include "Support/STLExtras.h"
#include "Support/hash_map"
#include "Support/hash_set"
@ -116,14 +115,14 @@ struct ModRefTable
/// and all that use any node.
///--------------------------------------------------------------------------
class ModRefInfoBuilder: public InstVisitor<ModRefInfoBuilder>,
public NonCopyable
{
class ModRefInfoBuilder : public InstVisitor<ModRefInfoBuilder> {
const DSGraph& funcGraph;
const FunctionModRefInfo& funcModRef;
ModRefTable& modRefTable;
ModRefInfoBuilder(); // do not implement
ModRefInfoBuilder(); // DO NOT IMPLEMENT
ModRefInfoBuilder(const ModRefInfoBuilder&); // DO NOT IMPLEMENT
void operator=(const ModRefInfoBuilder&); // DO NOT IMPLEMENT
public:
/*ctor*/ ModRefInfoBuilder(const DSGraph& _funcGraph,

View File

@ -45,7 +45,6 @@
#include "llvm/DerivedTypes.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/Support/Cilkifier.h"
#include "Support/NonCopyable.h"
#include "Support/Statistic.h"
#include "Support/STLExtras.h"
#include "Support/hash_set"
@ -280,9 +279,7 @@ void Cilkifier::visitCallInst(CallInst& CI)
// useful parallelism.
//----------------------------------------------------------------------------
class FindParallelCalls: public InstVisitor<FindParallelCalls>,
public NonCopyable
{
class FindParallelCalls : public InstVisitor<FindParallelCalls> {
typedef hash_set<CallInst*> DependentsSet;
typedef DependentsSet::iterator Dependents_iterator;
typedef DependentsSet::const_iterator Dependents_const_iterator;
@ -296,6 +293,8 @@ class FindParallelCalls: public InstVisitor<FindParallelCalls>,
CallInst* root,
DependentsSet& depsOfRoot);
FindParallelCalls(const FindParallelCalls &); // DO NOT IMPLEMENT
void operator=(const FindParallelCalls&); // DO NOT IMPLEMENT
public:
std::vector<CallInst*> parallelCalls;