mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 21:36:06 +00:00

This fixes a false positive caused by #114044. For `GSLPointer*` types, it's less clear whether the lifetime issue is about the GSLPointer object itself or the owner it points to. To avoid false positives, we take a conservative approach in our heuristic. Fixes #127195 (This will be backported to release 20).