r339383 - [NFC] Complete the rule-of-5 for ParsedAttr
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 9 14:04:34 PDT 2018
Author: erichkeane
Date: Thu Aug 9 14:04:34 2018
New Revision: 339383
URL: http://llvm.org/viewvc/llvm-project?rev=339383&view=rev
Log:
[NFC] Complete the rule-of-5 for ParsedAttr
Add move assign/construct as 'deleted' to ParsedAttr
to complete the rule-of-5.
Modified:
cfe/trunk/include/clang/Sema/ParsedAttr.h
Modified: cfe/trunk/include/clang/Sema/ParsedAttr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/ParsedAttr.h?rev=339383&r1=339382&r2=339383&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/ParsedAttr.h (original)
+++ cfe/trunk/include/clang/Sema/ParsedAttr.h Thu Aug 9 14:04:34 2018
@@ -360,7 +360,9 @@ private:
public:
ParsedAttr(const ParsedAttr &) = delete;
+ ParsedAttr(ParsedAttr &&) = delete;
ParsedAttr &operator=(const ParsedAttr &) = delete;
+ ParsedAttr &operator=(ParsedAttr &&) = delete;
~ParsedAttr() = delete;
void operator delete(void *) = delete;
More information about the cfe-commits
mailing list