serge-sans-paille wrote:

> > I don't think we should and new annotations for clang just for sake of 
> > clang-tidy. ...
> 
> +1. FYI 
> https://discourse.llvm.org/t/rfc-add-a-class-attribute-clang-null-after-move-for-use-after-move-analysis/89760

That's super useful. Thanks :bow: I moved to 

```
[[clang::annotate("clang-tidy", "bugprone-use-after-move", 
"specified_after_move")]]
```

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

Reply via email to