[clang] [clang][analyzer] Check for label location bindings in `DereferenceChecker` (PR #91119)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Mon May 13 01:44:38 PDT 2024


https://github.com/NagyDonat approved this pull request.

LGTM.

My only significant observation is that `BugReporterVisitors.cpp` must be cleaned up eventually, as it is currently a heap of ad-hoc special cases. However, it would be unreasonable to wait for that difficult cleanup with this simple improvement, so it's reasonable that you add yet another special case that ensures that your example works as intended. 

https://github.com/llvm/llvm-project/pull/91119


More information about the cfe-commits mailing list