Closed jerryct closed 4 years ago
Here the problem is that we do not correctly deduce the lifetime postcondition for the Get
method. Thanks for reporting this, I will look into that once I have some time!
This should be fixed by https://github.com/mgehre/llvm-project/commit/51afbcfafa64f992b8ee212bfa68ca98e02dc7a7
The following code
produces warnings about potential
nullptr
.But the returned pointer is always backed by a non-reference and non-pointer member.