Paul Fultz II 45dcfad9f9 Fix issue 8899: False positive returnDanglingLifetime when returning by value
This fixes the FP from:

```cpp
#include <string>

class MyString
{
        public:
        MyString(char* source)
        {
                length = strlen( source );
                buffer = new char[length+1];
                if( buffer )
                {
                        strcpy( buffer, source );
                }
        }

        char* buffer;
        int length;
};

MyString Foo()
{
        char arr[20];
        sprintf(arr, "hello world");

        return arr;
}

void main()
{
        MyString str = Foo();

        printf(str.buffer);
}
```
2018-12-15 17:58:45 +01:00
..
2017-06-05 13:23:00 +02:00
2018-01-14 15:37:52 +01:00
2018-01-14 15:37:52 +01:00
2018-01-14 15:37:52 +01:00
2018-05-15 16:37:40 +02:00
2018-07-15 23:05:48 +02:00
2018-11-03 15:53:24 +01:00
2018-10-13 18:20:31 +02:00
2018-11-21 08:39:21 +01:00
2018-05-15 16:37:40 +02:00
2018-08-12 08:01:15 +02:00
2018-06-16 22:28:14 +02:00