steakhal wrote:

> Should we introduce a new Kind in `DerefKind` (in reference to 
> `DereferenceChecker::reportBug`) ?

Yes. Something like this should work:
```c++
BugType BT_Label{this, "Dereference of the address of a label", 
categories::LogicError};
```

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

Reply via email to