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:
|
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
|
||||||
|
|
Loading…
Reference in New Issue