[llvm-commits] CVS: llvm/lib/Analysis/IPA/MemoryDepAnalysis.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Aug 6 12:17:01 PDT 2003
Changes in directory llvm/lib/Analysis/IPA:
MemoryDepAnalysis.cpp updated: 1.1 -> 1.2
---
Log message:
Remove unnecessary use of NonCopyable
---
Diffs of the changes:
Index: llvm/lib/Analysis/IPA/MemoryDepAnalysis.cpp
diff -u llvm/lib/Analysis/IPA/MemoryDepAnalysis.cpp:1.1 llvm/lib/Analysis/IPA/MemoryDepAnalysis.cpp:1.2
--- llvm/lib/Analysis/IPA/MemoryDepAnalysis.cpp:1.1 Sun Dec 8 07:26:29 2002
+++ llvm/lib/Analysis/IPA/MemoryDepAnalysis.cpp Wed Aug 6 12:16:19 2003
@@ -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 @@
/// 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,
More information about the llvm-commits
mailing list