projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99428d7
)
[NFC] Complete the rule-of-5 for ParsedAttr
author
Erich Keane
<erich.keane@intel.com>
Thu, 9 Aug 2018 21:04:34 +0000
(21:04 +0000)
committer
Erich Keane
<erich.keane@intel.com>
Thu, 9 Aug 2018 21:04:34 +0000
(21:04 +0000)
Add move assign/construct as 'deleted' to ParsedAttr
to complete the rule-of-5.
llvm-svn: 339383
clang/include/clang/Sema/ParsedAttr.h
patch
|
blob
|
history
diff --git
a/clang/include/clang/Sema/ParsedAttr.h
b/clang/include/clang/Sema/ParsedAttr.h
index 24c3df265c2fc6f27de773d9ded63d51d0cbdbdb..cc0a69865a31ce4c9e8646ff8badf78253067972 100644
(file)
--- a/
clang/include/clang/Sema/ParsedAttr.h
+++ b/
clang/include/clang/Sema/ParsedAttr.h
@@
-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;