summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-08-09 21:04:34 +0000
committerErich Keane <erich.keane@intel.com>2018-08-09 21:04:34 +0000
commitf8a4c7775fbfa9b8610729cde9093956176b7f5d (patch)
treeafc3c05aaebeac7d23f4857b636cf4395a421416
parent99428d7689982754c5793ed1ad42f06a371c15bc (diff)
downloadbcm5719-llvm-f8a4c7775fbfa9b8610729cde9093956176b7f5d.tar.gz
bcm5719-llvm-f8a4c7775fbfa9b8610729cde9093956176b7f5d.zip
[NFC] Complete the rule-of-5 for ParsedAttr
Add move assign/construct as 'deleted' to ParsedAttr to complete the rule-of-5. llvm-svn: 339383
-rw-r--r--clang/include/clang/Sema/ParsedAttr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/Sema/ParsedAttr.h b/clang/include/clang/Sema/ParsedAttr.h
index 24c3df265c2..cc0a69865a3 100644
--- 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;
OpenPOWER on IntegriCloud