================ @@ -790,6 +790,10 @@ def warn_cstruct_memaccess : Warning< "%1 call is a pointer to record %2 that is not trivial to " "%select{primitive-default-initialize|primitive-copy}3">, InGroup<NonTrivialMemaccess>; +def warn_cxxstruct_memaccess : Warning< + "%select{destination for|source of|first operand of|second operand of}0 this " + "%1 call is a pointer to record %2 that is not trivially-copyable">, ---------------- AaronBallman wrote:
```suggestion "%select{destination for|source of|first operand of|second operand of}0 call to " "%1 is a pointer to non-trivially copyable type %2">, ``` Slight rewording https://github.com/llvm/llvm-project/pull/111434 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits