NeKon69 wrote:

> I wonder what happens if a user-defined delete operator is annotated with 
> these. Might be worth having some tests just to make sure the diagnostics 
> make sense and we do not crash.

Good catch! I added test cases, along with 1 found inconsistency where `new` 
has a `ownership_takes` attribute.


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

Reply via email to