diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-01 06:23:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-01 06:23:14 +0000 |
commit | 36e74871b881112c17ffdcd421162ab588c3456b (patch) | |
tree | 2ada51a5e4f9a636e3177cda3f0e483f63840f7c /include | |
parent | 14022f2a5a51d8ac0d8066a87dfd2dc2f2fabfdf (diff) | |
download | external_llvm-36e74871b881112c17ffdcd421162ab588c3456b.zip external_llvm-36e74871b881112c17ffdcd421162ab588c3456b.tar.gz external_llvm-36e74871b881112c17ffdcd421162ab588c3456b.tar.bz2 |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h index 87698e3..a6a9dff 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; } |