[clang] [clang][analyzer] Check for label location bindings in `DereferenceChecker` (PR #91119)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Mon May 6 23:52:16 PDT 2024
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
More information about the cfe-commits
mailing list