summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-01 06:23:14 +0000
committerChris Lattner <sabre@nondot.org>2009-07-01 06:23:14 +0000
commit36e74871b881112c17ffdcd421162ab588c3456b (patch)
tree2ada51a5e4f9a636e3177cda3f0e483f63840f7c /include
parent14022f2a5a51d8ac0d8066a87dfd2dc2f2fabfdf (diff)
downloadllvm-36e74871b881112c17ffdcd421162ab588c3456b.tar.gz
llvm-36e74871b881112c17ffdcd421162ab588c3456b.tar.bz2
llvm-36e74871b881112c17ffdcd421162ab588c3456b.tar.xz
disable some ctors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCSymbol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h
index 87698e364d..a6a9dff507 100644
--- a/include/llvm/MC/MCSymbol.h
+++ b/include/llvm/MC/MCSymbol.h
@@ -46,6 +46,9 @@ namespace llvm {
friend class MCContext;
MCSymbol(const char *_Name, bool _IsTemporary)
: Name(_Name), Section(0), IsTemporary(_IsTemporary), IsExternal(false) {}
+
+ MCSymbol(const MCSymbol&); // DO NOT IMPLEMENT
+ void operator=(const MCSymbol&); // DO NOT IMPLEMENT
public:
MCSection *getSection() const { return Section; }