From: Craig Topper Date: Mon, 1 Jul 2013 04:07:34 +0000 (+0000) Subject: Use LLVM_DELETED_FUNCTION on unimplemented copy constructor and assignment operator. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53d4f318d9fe8e09bd3afc3114abc04812840992;p=clang Use LLVM_DELETED_FUNCTION on unimplemented copy constructor and assignment operator. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185302 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/FormatToken.h b/lib/Format/FormatToken.h index 58cec43f10..8798f8fbe6 100644 --- a/lib/Format/FormatToken.h +++ b/lib/Format/FormatToken.h @@ -270,8 +270,8 @@ struct FormatToken { private: // Disallow copying. - FormatToken(const FormatToken &); - void operator=(const FormatToken &); + FormatToken(const FormatToken &) LLVM_DELETED_FUNCTION; + void operator=(const FormatToken &) LLVM_DELETED_FUNCTION; }; } // namespace format