================
@@ -3834,6 +3834,10 @@ OPT_LIST(V)
 
   StringRef getCUIDHash() const;
 
+  /// Returns whether D is a copy/move constructor or assignment operator
+  /// that can be implemented as a memcpy of the object representation.
+  bool isMemcpyEquivalentSpecialMember(const CXXMethodDecl *D) const;
----------------
erichkeane wrote:

I think I'd rather this on the `CXXMethodDecl` instead.  Asking `ASTContext` 
here is the wrong place.

https://github.com/llvm/llvm-project/pull/186700
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to