aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/IPA
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-06 17:16:24 +0000
committerChris Lattner <sabre@nondot.org>2003-08-06 17:16:24 +0000
commit804312786002b69b6b63ffce63c7074a254ccbb6 (patch)
tree829f7eb6ebd43b34945cfd8e3e1860d9ee03a288 /lib/Analysis/IPA
parentdfd414ab770a389d29b7294f20e38cbf74c9f9a9 (diff)
downloadexternal_llvm-804312786002b69b6b63ffce63c7074a254ccbb6.zip
external_llvm-804312786002b69b6b63ffce63c7074a254ccbb6.tar.gz
external_llvm-804312786002b69b6b63ffce63c7074a254ccbb6.tar.bz2
Remove unnecessary use of NonCopyable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA')
-rw-r--r--lib/Analysis/IPA/MemoryDepAnalysis.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Analysis/IPA/MemoryDepAnalysis.cpp b/lib/Analysis/IPA/MemoryDepAnalysis.cpp
index ef08a5c..598bff9 100644
--- a/lib/Analysis/IPA/MemoryDepAnalysis.cpp
+++ b/lib/Analysis/IPA/MemoryDepAnalysis.cpp
@@ -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,