forked from OSchip/llvm-project
Use LLVM_DELETED_FUNCTION on unimplemented copy constructor and assignment operator.
llvm-svn: 185302
This commit is contained in:
parent
318ed7c1a2
commit
411294d353
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue