X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FMC%2FMCSection.h;h=a92fc379e193461f540295b5e01d4a1ec502b7ea;hb=72d048b69705f01d48bdef7b235ec96b24290767;hp=57008177b6d31e867347bc533eb65a13cd299919;hpb=ddcdcc88631c6bd4ad43d9198b98bc9a829be036;p=oota-llvm.git diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h index 57008177b6d..a92fc379e19 100644 --- a/include/llvm/MC/MCSection.h +++ b/include/llvm/MC/MCSection.h @@ -14,12 +14,10 @@ #ifndef LLVM_MC_MCSECTION_H #define LLVM_MC_MCSECTION_H -#include "llvm/ADT/StringRef.h" #include "llvm/MC/SectionKind.h" -#include "llvm/Support/Casting.h" +#include "llvm/Support/Compiler.h" namespace llvm { - class MCContext; class MCAsmInfo; class raw_ostream; @@ -35,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;