After some interaction between the statement local lifetime analysis and some newly introduced warnings (https://github.com/llvm/llvm-project/commit/2177e4555ab84771c611a3295ab1149af7f79c29), a new false positive pattern appeared. This patch updates the logic that is responsible to make sure we only warn for a returned GslPointer when it was initialized from a value with a local owner.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests