================
@@ -2801,6 +2801,10 @@ static bool isTriviallyCopyableTypeImpl(const QualType 
&type,
   if (type.hasNonTrivialObjCLifetime())
     return false;
 
+  QualType::PrimitiveCopyKind PCK = type.isNonTrivialToPrimitiveCopy();
+  if (PCK != QualType::PCK_Trivial && PCK != QualType::PCK_VolatileTrivial)
----------------
ojhunt wrote:

- [ ] I'm trying to find the origin of this particular check, as I'm not sure 
how it relates to pointer auth copying semantics



https://github.com/llvm/llvm-project/pull/136783
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to