diff options
author | Manna, Soumi <soumi.manna@intel.com> | 2023-05-15 05:58:52 -0700 |
---|---|---|
committer | Manna, Soumi <soumi.manna@intel.com> | 2023-05-15 06:03:47 -0700 |
commit | 292a6c1c2395f990bbde8d968825243e4fe9b954 (patch) | |
tree | 81a50b9908cc260bb6de376a1e68873f06ef539a /clang/include | |
parent | 3060ee0c6adaf3015e39c90a0929029b8d368522 (diff) | |
download | llvm-292a6c1c2395f990bbde8d968825243e4fe9b954.tar.gz |
Fix build error caused by https://reviews.llvm.org/D149718
The patch(https://reviews.llvm.org/D149718) broke buildbot
../../clang/include/clang/Sema/ParsedAttr.h:705:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
AttributePool &operator=(AttributePool &&pool) = default;
^
../../clang/include/clang/Sema/ParsedAttr.h:674:21: note: move assignment operator of 'AttributePool' is implicitly deleted because field 'Factory' is of reference type 'clang::AttributeFactory &'
AttributeFactory &Factory;
^
1 error generated.
This patch fixes the build error.
Diffstat (limited to 'clang/include')
-rw-r--r-- | clang/include/clang/Sema/ParsedAttr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/include/clang/Sema/ParsedAttr.h b/clang/include/clang/Sema/ParsedAttr.h index 837725c07980..cb27dd727f0f 100644 --- a/clang/include/clang/Sema/ParsedAttr.h +++ b/clang/include/clang/Sema/ParsedAttr.h @@ -702,7 +702,6 @@ public: /// Move the given pool's allocations to this pool. AttributePool(AttributePool &&pool) = default; - AttributePool &operator=(AttributePool &&pool) = default; AttributeFactory &getFactory() const { return Factory; } |