uabelho added a comment.

Compiling with clang 15.0.5 I get the following warning/error with this patch:

  ../../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.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149718/new/

https://reviews.llvm.org/D149718

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to