diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-08-29 06:28:46 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-08-29 06:28:46 +0000 |
commit | 1f7210e808373fa92be3a2d4fa653a6f79d5088b (patch) | |
tree | 46706648b771452e07803c85a72bafabbf5ce555 /include/llvm/MC/MCSection.h | |
parent | 345d16ddcc688e06428708780e9b1499f9aec0a8 (diff) | |
download | llvm-1f7210e808373fa92be3a2d4fa653a6f79d5088b.tar.gz llvm-1f7210e808373fa92be3a2d4fa653a6f79d5088b.tar.bz2 llvm-1f7210e808373fa92be3a2d4fa653a6f79d5088b.tar.xz |
Make use of the LLVM_DELETED_FUNCTION macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSection.h')
-rw-r--r-- | include/llvm/MC/MCSection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h index 7da6534b6e..a92fc379e1 100644 --- a/include/llvm/MC/MCSection.h +++ b/include/llvm/MC/MCSection.h @@ -15,7 +15,7 @@ #define LLVM_MC_MCSECTION_H #include "llvm/MC/SectionKind.h" -#include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" namespace llvm { class MCAsmInfo; @@ -33,8 +33,8 @@ namespace llvm { }; private: - MCSection(const MCSection&); // DO NOT IMPLEMENT - void operator=(const MCSection&); // DO NOT IMPLEMENT + MCSection(const MCSection&) LLVM_DELETED_FUNCTION; + void operator=(const MCSection&) LLVM_DELETED_FUNCTION; protected: MCSection(SectionVariant V, SectionKind K) : Variant(V), Kind(K) {} SectionVariant Variant; |