Use LLVM_DELETED_FUNCTION on unimplemented copy constructor and assignment operator.

llvm-svn: 185302
This commit is contained in:
Craig Topper 2013-07-01 04:07:34 +00:00
parent 318ed7c1a2
commit 411294d353
1 changed files with 2 additions and 2 deletions

View File

@ -270,8 +270,8 @@ struct FormatToken {
private: private:
// Disallow copying. // Disallow copying.
FormatToken(const FormatToken &); FormatToken(const FormatToken &) LLVM_DELETED_FUNCTION;
void operator=(const FormatToken &); void operator=(const FormatToken &) LLVM_DELETED_FUNCTION;
}; };
} // namespace format } // namespace format