From 411294d3535b2c634323e33d856433956e3fbdab Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 1 Jul 2013 04:07:34 +0000 Subject: [PATCH] Use LLVM_DELETED_FUNCTION on unimplemented copy constructor and assignment operator. llvm-svn: 185302 --- clang/lib/Format/FormatToken.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Format/FormatToken.h b/clang/lib/Format/FormatToken.h index 58cec43f108b..8798f8fbe666 100644 --- a/clang/lib/Format/FormatToken.h +++ b/clang/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