Make use of the LLVM_DELETED_FUNCTION macro.
[oota-llvm.git] / include / llvm / MC / MCParser / AsmLexer.h
index 9a8735f3e726b458cac9b55c2283e838cac10774..e102dfb82c4aab9ec95a854135b6a042ffabfb56 100644 (file)
@@ -31,8 +31,8 @@ class AsmLexer : public MCAsmLexer {
   const MemoryBuffer *CurBuf;
   bool isAtStartOfLine;
 
-  void operator=(const AsmLexer&); // DO NOT IMPLEMENT
-  AsmLexer(const AsmLexer&);       // DO NOT IMPLEMENT
+  void operator=(const AsmLexer&) LLVM_DELETED_FUNCTION;
+  AsmLexer(const AsmLexer&) LLVM_DELETED_FUNCTION;
 
 protected:
   /// LexToken - Read the next token and return its code.