This patch extends some existing warnings to utilize the knowledge about the gsl::Pointer and gsl::Owner attributes.
The implicit assumption of this patch is that if a class annotated with gsl::Pointer is created from a gsl::Owner (through conversion operator or a constructor taking the owner as the first argument) the Pointer will point to the buffer of the Owner, so it will dangle after the lifetime of the Owner ends.
What is this name supposed to mean? Initialization of a "lifetime pointer"? What's a "lifetime pointer"?
If you were imitating "LifetimeBoundCall", it is a reference to the attribute: https://clang.llvm.org/docs/AttributeReference.html#lifetimebound .